Re: [PATCH 1/3] hwmon: (sht15) general code clean-up

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

 



Excerpts from Jonathan Cameron's message of 2011-04-08 14:17:54 -0400:
> My one question on this is in the header.  Why the extra indent?
> Maybe it looks a smigeon clearer but I'm far from convinced by that
> bit.

The extra indentation in the clean-up patch is made to align the
existing attributes (or macros) with the new ones introduced in the
following patchs, which have longer names (such as
SHT15_STATUS_LOW_BATTERY or last_measurement).

> I agree most of yours are clearer.  Measurements rather than
> measures would be even better. 

ok, I've changed measures for measurements.

> Also, I'd have preferred to see the fixes separated out from the
> purely superficial name changes etc.  They are both worth while, but
> only one changes what actually happens in the driver!

I agree. I've separated the probe function clean-up into a separated
patch.

Vivien.

_______________________________________________
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