staging: iio: resolver: ad2s1210: remove fault attribute
authorDavid Lechner <dlechner@baylibre.com>
Fri, 6 Oct 2023 00:50:33 +0000 (19:50 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Oct 2023 14:54:41 +0000 (15:54 +0100)
commit73aa842baf877cc8c8da819f4ea927307dd8b6e4
treeea98a70f40e8a7a097d5000b9bf4451215f5586b
parent40efeec7600949c2f6319c11d8a7f294a1c5e590
staging: iio: resolver: ad2s1210: remove fault attribute

Faults have been converted to events and we are now polling the fault
register each time we read a sample, so we no longer need the fault
attribute.

This attribute was not suitable for promotion out of staging anyway
since it was returning multiple values in a single attribute.

The fault clearing feature should not be needed unless we need to
support the fault output pins on the chip which is not currently
supported. So we can add this feature back in if we need it later.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231005-ad2s1210-mainline-v4-16-ec00746840fc@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/resolver/ad2s1210.c