Re: [PATCH v3 12/27] staging: iio: resolver: ad2s1210: remove config attribute

From: Jonathan Cameron
Date: Sat Sep 30 2023 - 10:53:52 EST


On Fri, 29 Sep 2023 12:23:17 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> From: David Lechner <david@xxxxxxxxxxxxxx>
>
> From: David Lechner <dlechner@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
Applied.