reset: minimize the number of headers included from <linux/reset.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Oct 2017 16:50:08 +0000 (01:50 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 Nov 2017 08:16:40 +0000 (09:16 +0100)
commitdfc1d9b24719b13164cc4fdc328c0b3e422cac42
treea14a29aff96e23ed767ed08761ba41a3d1d1b287
parentbb6c7768385b200063a14d6615cc1246c3d00760
reset: minimize the number of headers included from <linux/reset.h>

Commit 62e24c5775ec ("reset: add exported __reset_control_get, return
NULL if optional") moved the dev->of_node reference to core.c, so
<linux/reset.h> does not need to know the members of struct device.
Declaring device and device_node as structure is enough.

<linux/types.h> is necessary for bool, true, and false.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h