Re: [PATCH v2 3/9] hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions

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

 



On Mon, 29 Oct 2012 17:45:43 -0700, Guenter Roeck wrote:
> The macro name show_sensor_offset is confusing since it related to the sensor
> type, not an offset - even more so when we introduce offset attributes later on.
> Replace it with direct definitions, and replace the show_sensor/set_sensor
> function names with show_temp_type/set_temp_type. This also resolves a
> checkpatch error.
> 
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> v2: s/S_IRUGOWU/S_IRUGO | S_IWUSR/
>     s/show_type/show_temp_type/g
>     s/set_type/set_temp_type/g
> 
>  drivers/hwmon/it87.c |   21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)
> (...)

Applied, thanks.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


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

  Powered by Linux