power_supply: Drop usage of nowarn variant of sysfs_create_link()
authorAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 5 Jan 2012 15:17:25 +0000 (19:17 +0400)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 7 Jan 2012 11:24:51 +0000 (15:24 +0400)
commit93278d151e7bd35ccd0e083d7f2d8123cbaf36f8
treed1a2d0dd3465ac0bcec7464f6d3fb70535dcaea9
parent34aed73df3a9e75e313a7510b201f6755ae3e6bc
power_supply: Drop usage of nowarn variant of sysfs_create_link()

The function is not exported to modules, plus we do want to catch anyone
who tries to create complex hierarchy (in that case we'd need to change
'powers' symlink to a directory, probably under a different name to not
break ABI).

This patch fixes the following build error:

 ERROR: "sysfs_create_link_nowarn" [drivers/power/power_supply.ko] undefined!

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/power_supply_core.c