mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-18 14:44:48 +00:00
Check the return value of device_create_file(). If return is 'fail', remove attributes by calling device_remove_file(). Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
36 KiB
36 KiB