staging: board: Add support for devices with complex dependencies
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2015 08:38:54 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:42:51 +0000 (21:42 -0700)
commit225d68d852f16369c1f9e61f7aa58cfffcaaff5d
tree9107d937fca1dd2803b52070c6548c380870325d
parenta85890883e18d9b1ab6e500584ee5a4db7d1e39f
staging: board: Add support for devices with complex dependencies

Add support for easy registering of one ore more platform devices that
may:
  - need clocks that are described in DT,
  - be part of a PM Domain.

All these dependencies are optional.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/board/board.c
drivers/staging/board/board.h