Re: [PATCH] hwmon: Use i2c_smbus_{read, write}_word_swapped

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

 



On Tue, 2011-10-11 at 11:35 -0400, Jean Delvare wrote:
> Make use of the new i2c_smbus_{read,write}_word_swapped functions.
> This makes the driver code more compact and readable. It also ensures
> proper error handling.
> 
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Jonathan Cameron <jic23@xxxxxxxxx>
> Cc: Dirk Eibach <eibach@xxxxxxxx>
> Cc: "Mark M. Hoffman" <mhoffman@xxxxxxxxxxxxx>
> Cc: Guillaume Ligneul <guillaume.ligneul@xxxxxxxxx>
> ---
> See http://marc.info/?l=linux-i2c&m=131823766914651&w=2
> 
Nice cleanup.

Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>



_______________________________________________
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