[RFC PATCH 4/9] hwmon: (lm90) use macros for the indexes of temp8 and temp11
Alex Courbot
acourbot at nvidia.com
Tue Feb 19 16:39:22 EST 2013
On 02/18/2013 08:30 PM, Wei Ni wrote:
> Using macros for the indexes and nrs of temp8 and temp11.
> This make the code much clearer.
>
> Signed-off-by: Wei Ni <wni at nvidia.com>
Acked-by: Alexandre Courbot <acourbot at nvidia.com>
Great patch. This makes the code much more readable. I also compiled
lm90.o before and after this patch, and diff'ed the stripped binaries to
make sure there was no error in the macro indexes. Both binaries were
indentical, therefore:
Tested-by: Alexandre Courbot <acourbot at nvidia.com>
Alex.
More information about the devicetree-discuss
mailing list