]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon/dpm: Convert to use devm_hwmon_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sat, 23 Nov 2013 05:52:00 +0000 (21:52 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2013 21:40:42 +0000 (16:40 -0500)
commitec39f64bba3421c2060fcbd1aeb6eec81fe0a42d
treed76e76ee0bf141b4e728d61fa864572d014e9376
parent55d4e020fb8ddd3896a8cd3351028f5c3a2c4bd3
drm/radeon/dpm: Convert to use devm_hwmon_register_with_groups

Simplify the code and fix race condition seen because
attribute files were created after hwmon device registration.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c