Re: [PATCH RFT] hwmon: (gpio-fan) Convert to devm_hwmon_device_register_with_groups

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

 



On 06/13/2014 11:50 PM, Axel Lin wrote:
This simplifies the code a bit and also ensures the attribute groups are
properly removed from sysfs when unload the module.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Hmm ... no idea why I did not use the devm_ function to start with. Applied to -next.

On a side note, I wonder if the interrupt handler works on this one.
Shared edge triggered interrupts used to be not supported, or my memory is wrong.
If I find some time, I may build a little test board to give this a try.

Guenter


_______________________________________________
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