Convert w83627ehf to the with_info interface; while we're here add intrusion%d_ templates since they're used by a bunch of different devices. The _visible functions try and follow the same structure as the existing device_create_file loops and structures. The in*input,fan*input and temp*input all look sane to me; and I've tried writing to a bunch of the files; but the pwm ones I don't have too much of an idea of. This has been tested on my P55M Pro which has a W83667HG-B; it would be good to get some testing from people with other devices supported by the driver. Dave Dr. David Alan Gilbert (2): hwmon: Add intrusion templates hwmon: (w83627ehf) convert to with_info interface drivers/hwmon/hwmon.c | 9 +- drivers/hwmon/w83627ehf.c | 1429 ++++++++++++++++--------------------- include/linux/hwmon.h | 8 + 3 files changed, 646 insertions(+), 800 deletions(-) -- 2.23.0