misc: uclass: Add enable/disable function
authorMario Six <mario.six@gdsys.cc>
Tue, 31 Jul 2018 12:24:13 +0000 (14:24 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 11 Aug 2018 14:00:19 +0000 (16:00 +0200)
commit440bc11f2e10dd80c7f5e717bc52daff73091bd5
tree7f24a33cc0fecf3f543035182777225e17d1b6ed
parent3958bffeb3cb536f378072ee1935c7106db91e06
misc: uclass: Add enable/disable function

Add generic enable/disable function to the misc uclass.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/misc/misc-uclass.c
include/misc.h