23 Mar, 2011
1 commit
-
i2c_master_recv() returns negative errno, or else the number of bytes
read. Thus i2c_master_recv(client, i2c_data, 2) returns 2 instead of 1 in
success case.[akpm@linux-foundation.org: make `ret' signed]
Signed-off-by: Axel Lin
Cc: Kalhan Trisal
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Aug, 2010
1 commit
-
This driver will report the heading values in degrees to the sysfs
interface. The values returned are headings . e.g. 245.6Alan: Cleanups requested now all folded in and a sysfs description to keep
Andrew happy. The sysfs description now resembles hwmon.Signed-off-by: Kalhan Trisal
Reviewed-by: Jean Delvare
Signed-off-by: Alan Cox
Cc: Jonathan Cameron
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds