Home
last modified time | relevance | path

Searched refs:int_hwmon_dev (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_pm.c512 rdev->pm.int_hwmon_dev = NULL; in radeon_hwmon_init()
524 rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev); in radeon_hwmon_init()
525 if (IS_ERR(rdev->pm.int_hwmon_dev)) { in radeon_hwmon_init()
526 err = PTR_ERR(rdev->pm.int_hwmon_dev); in radeon_hwmon_init()
531 dev_set_drvdata(rdev->pm.int_hwmon_dev, rdev->ddev); in radeon_hwmon_init()
532 err = sysfs_create_group(&rdev->pm.int_hwmon_dev->kobj, in radeon_hwmon_init()
549 if (rdev->pm.int_hwmon_dev) { in radeon_hwmon_fini()
550 sysfs_remove_group(&rdev->pm.int_hwmon_dev->kobj, &hwmon_attrgroup); in radeon_hwmon_fini()
551 hwmon_device_unregister(rdev->pm.int_hwmon_dev); in radeon_hwmon_fini()
Dradeon.h1086 struct device *int_hwmon_dev; member