aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ads7828.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-12-05hwmon: (ads7828) driver cleanupVivien Didelot1-0/+29
As there is no reliable way to identify the chip, it is preferable to remove the detect callback, to avoid misdetection. Module parameters are not worth it here, so let's get rid of them and add an ads7828_platform_data structure instead. Clean the code by removing unused macros, fixing coding style issues, avoiding function prototypes and using convenient macros such as module_i2c_driver(). Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>