Skip to content
Commit 2fd18aba authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: ad7877 - use attribute group to control visibility of attributes



Instead of manually creating one set of attributes or another set up
is_visible method in attribute group structure to control whether
aux3 or gpio3 attribute is presented to userspace.

Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent fc58d12b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment