]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit758a22a680d1886efbf402446041168dc892494f
treec08e10f4aecbb2891c94adb9c97b4bdc1362dd00
parentaa685e19ad32f30aea65c4625f3c33e3421d9edc
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