From: Guenter Roeck Date: Thu, 28 Mar 2013 04:23:10 +0000 (-0700) Subject: hwmon: (tmp401) Simplification and cleanup X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~140^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14f2a6654dd42d60645071de26d17d0bced63a7d;p=pandora-kernel.git hwmon: (tmp401) Simplification and cleanup Use two-dimensional array pointing to registers Merge temperature and limit access functions into a single function Return error codes from I2C reads Use DIV_ROUND_CLOSEST for rounding operations and improve rounding Signed-off-by: Guenter Roeck Acked-by: Jean Delvare --- Reading git-diff-tree failed