gpio: pca953x: Switch to use device_get_match_data()

Instead of open coded variants, switch to direct use of
device_get_match_data().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
Andy Shevchenko 2019-08-01 20:39:35 +03:00 • committed by Bartosz Golaszewski
commit 8eeb467d3b