[PATCH] lm87: Add support for configuration through platform_data

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

 



On Tue, 26 Aug 2008 14:13:40 +0100, Ben Hutchings wrote:
> The lm87 driver normally assumes that firmware configured the chip
> correctly.  Since this is not always the case, alllow platform code to
> set the channel register value via platform_data.  All other
> configuration registers can be changed after driver initialisation.
> 
> Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
> ---
>  Documentation/hwmon/lm87 |    9 ++++-----
>  drivers/hwmon/lm87.c     |   17 +++++++++++------
>  2 files changed, 15 insertions(+), 11 deletions(-)
> 
> This removes the line to override config in case platform_data is set.
> (This time with a Signed-off-by!)

Excellent. Thanks for the patch. All 3 lm87 patches are now in my
personal tree and I'll push them to Linus for 2.6.28.

I've tested that the lm87 driver still works OK on my test system that
has an LM87 chip.

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux