staging: iio: resolver: ad2s1210: remove config attribute
authorDavid Lechner <dlechner@baylibre.com>
Fri, 29 Sep 2023 17:23:17 +0000 (12:23 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 30 Sep 2023 14:53:36 +0000 (15:53 +0100)
commit8ab5bf1a2264e380635913bc9ac72d1ab55088c0
tree28241f8203e8b355729f496d926cfb3c9696b615
parent569dc8054e702f504bd8d07e2c4e315b2097d746
staging: iio: resolver: ad2s1210: remove config attribute

This removes the config register sysfs attribute.

Writing to the config register directly can be dangerous and userspace
should not need to have to know the register layout. This register
can still be accessed though debugfs if needed.

We can add new attributes to set specific flags in the config register
in the future if needed (e.g. `enable_hysterisis` and
`phase_lock_range`).

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20230929-ad2s1210-mainline-v3-12-fa4364281745@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/resolver/ad2s1210.c