diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-05-24 17:53:55 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-06-01 08:50:49 -0500 |
commit | d20dc1493db438fbbfb7733adc82f472dd8a0789 (patch) | |
tree | a81ff52fe7e4ed471df24a2e1c48a7d25deb1fcd /drivers/gpio/gpio-iop.c | |
parent | debd3a3b27c76c65a7d032b6f01710e6a6d555ab (diff) | |
download | op-kernel-dev-d20dc1493db438fbbfb7733adc82f472dd8a0789.zip op-kernel-dev-d20dc1493db438fbbfb7733adc82f472dd8a0789.tar.gz |
of: Support const and non-const use for to_of_node()
Turn to_of_node() into a macro in order to support both const and
non-const use. Additionally make the fwnode argument to is_of_node() const
as well.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-iop.c')
0 files changed, 0 insertions, 0 deletions