[patch 0/3] hwmon/pc87360: combine sysfs-attr callbacks to shrink object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



heres a 3 patch set to pc87360 driver, to combine multiple
callbacks (one per attribute) into single combined-function callbacks, 
now updated to apply on top of just-blessed unchecked rc=device_create_file patches.

they are:

1. hwmon-pc87360-maintainer.patch
    the bribe, as it were.
    thanks for authoring this driver Jean.

2. hwmon-pc87360-use-sensor-attr-2.patch

Converts SENSOR_ATTRs to SENSOR_ATTR_2s for most sysfs-callbacks.
Also adds a number of #define FN_$(SENSOR)_($ATTR)s which provide
symbolic values used in the sensor array initializations.

3. hwmon-pc87360-sysfs-combo-callbacks.patch

This combines individual  (show|set)_Sensor_Attr callbacks into
(show|set)_Sensor callbacks that handle all that Sensor's Attrs.
The callback routines use the .nr field to determine what attribute
they were called for.


previous version of patches saved ~ 9%





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux