'!' replaces '/' in the sysfs paths of older drivers, so properly
authorIsaac Dunham <ibid.ag@gmail.com>
Sat, 1 Aug 2015 16:09:51 +0000 (11:09 -0500)
committerRob Landley <rob@landley.net>
Sat, 1 Aug 2015 16:09:51 +0000 (11:09 -0500)
commitce4188fd1228c8037d1f059cf24a066941c26501
treedaad3ec84bee931bf4f7a58fcbf9e184975c4a27
parent39f2e91e8bea7288ea487a79e1dc8732cf511b4f
'!' replaces '/' in the sysfs paths of older drivers, so properly
reverse that to get correct paths.
While we're here, reduce the duplication of initialization.

While this is enough for some drivers, it won't get 'input/' stuff
in the right folder.
toys/pending/mdev.c