]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP3+: SmartReflex: fix the use of debugfs_create_* API
authorJean Pihet <jean.pihet@newoldbits.com>
Wed, 29 Feb 2012 22:33:48 +0000 (23:33 +0100)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 19:29:27 +0000 (11:29 -0800)
commit54b28cdfcd8ffc491733f97378ba5816385803fc
treec3b8d66f65af5219821db9834423c7030b956642
parentd617369219f136dc6e7923f573d826c7afb4b269
ARM: OMAP3+: SmartReflex: fix the use of debugfs_create_* API

The debugfs_create_* API returns a return code or NULL
in the return ptr in case of problem.
Fix the smartreflex code to take this into account.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c