mux: adgs1408: Add mod_devicetable.h and remove of_match_ptr
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 May 2020 14:57:26 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jun 2020 16:39:44 +0000 (18:39 +0200)
commitb7820ae2d2929d4d6e52462a820e760db35fdad6
treed7d7e8896f8a6fbbf61f9eb983bde55e6e7f2ea9
parent85c5cbeba8f4fb28e6b9bfb3e467718385f78f76
mux: adgs1408: Add mod_devicetable.h and remove of_match_ptr

Enables probing via the ACPI PRP0001 route but more is mostly about
removing examples of this that might get copied into new drivers.

Also fixes
  drivers/mux/adgs1408.c:112:34: warning: unused variable 'adgs1408_of_match
as has been reported recently.

Fixes: e9e40543ad5b ("spi: Add generic SPI multiplexer")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20200529145726.5708-1-peda@axentia.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mux/adgs1408.c