OSDN Git Service

net: ieee802154: mrf24j40: Drop unneeded of_match_ptr()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 31 May 2021 13:22:26 +0000 (16:22 +0300)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 3 Jun 2021 08:32:04 +0000 (10:32 +0200)
commitaab53e6756caadeb908a70d5bcdf5a24baf34ad8
treeaa4d826f990c0b03638fadfa01d51696947d0907
parentad6f5cc5f6c261f881e44ecd750f17952df2b496
net: ieee802154: mrf24j40: Drop unneeded of_match_ptr()

Driver can be used in different environments and moreover, when compiled
with !OF, the compiler may issue a warning due to unused mrf24j40_of_match
variable. Hence drop unneeded of_match_ptr() call.

While at it, update headers block to reflect above changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210531132226.47081-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/mrf24j40.c