commit | e585c40ba19b155150f17124a308ac06e26d424a | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Nov 27 20:08:33 2013 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Dec 16 02:13:26 2013 -0800 |
tree | 86c1b1a5b7eea5ce864c21058d3471aa49afb08b | |
parent | 961794a00eab03f4344b7d5e825e8e789e55da87 [diff] |
Input: ads7846 - convert to hwmon_device_register_with_groups() Simplify the code and create mandatory 'name' attribute by using new hwmon API. Also use is_visible to determine visible attributes instead of creating several different attribute groups. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>