gpio: mockup: use KBUILD_MODNAME
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 29 Sep 2020 10:09:58 +0000 (12:09 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 30 Sep 2020 08:50:30 +0000 (10:50 +0200)
commit25f0006603e4a5e9a2dbdbbe1783803fa6b1e239
treec08e10f4aecbb2891c94adb9c97b4bdc1362dd00
parent94502ba9a47c2bfbd2e4d4d683392b409e9c31bb
gpio: mockup: use KBUILD_MODNAME

Drop the definition for the driver name. Let's use KBUILD_MODNAME for
the log format and use the "gpio-mockup" value directly in the only
place where it's relevant: in the name of the device.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-mockup.c