diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-05-24 17:53:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-19 13:14:11 +0100 |
| commit | 0da773c5430967f38fa96d4557abfc1d1b9c7bf1 (patch) | |
| tree | 2eceb47623826513458a09f64c78c42074607faa /net/lapb/lapb_timer.c | |
| parent | 883f7c326fda9a2727f5bb62b6f90d24e258b785 (diff) | |
of: Support const and non-const use for to_of_node()
commit d20dc1493db438fbbfb7733adc82f472dd8a0789 upstream.
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>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
