rtc-isl1208: fix double removal of a sysfs entry
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Cc: Herbert Valerio Riedel <hvr@gnu.org> Cc: Hartley Sweeten <hartleys@visionengravers.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
9de15e9110
Коммит
001e979d8f
|
@ -482,7 +482,7 @@ isl1208_sysfs_register(struct device *dev)
|
|||
static int
|
||||
isl1208_sysfs_unregister(struct device *dev)
|
||||
{
|
||||
device_remove_file(dev, &dev_attr_atrim);
|
||||
device_remove_file(dev, &dev_attr_dtrim);
|
||||
device_remove_file(dev, &dev_attr_atrim);
|
||||
device_remove_file(dev, &dev_attr_usr);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче