[PATCH 1/2] drm/radeon/dpm: Convert to use devm_hwmon_register_with_groups

Guenter Roeck linux at roeck-us.net
Mon Nov 25 10:07:41 PST 2013


On Fri, Nov 22, 2013 at 09:52:00PM -0800, Guenter Roeck wrote:
> Simplify the code and fix race condition seen because
> attribute files were created after hwmon device registration.
> 
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> ---
> Compile tested only; unfortunately I don't have the the necessary hardware.
> 
Update: Tested working on actual hardware.

Guenter


More information about the dri-devel mailing list