From: Daniel Mack Date: Sun, 22 Sep 2013 19:51:47 +0000 (+0200) Subject: drivers: misc: ti_dac7512: drop DAC7512_DRV_NAME X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e06465050e2a62ccab164d116e443101279c14bb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drivers: misc: ti_dac7512: drop DAC7512_DRV_NAME The driver's name can be provided directly, so drop the #define. Signed-off-by: Daniel Mack Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/ti_dac7512.c b/drivers/misc/ti_dac7512.c index db47333184b7..46dfbf36bbea 100644 --- a/drivers/misc/ti_dac7512.c +++ b/drivers/misc/ti_dac7512.c @@ -23,8 +23,6 @@ #include #include -#define DAC7512_DRV_NAME "dac7512" - static ssize_t dac7512_store_val(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) @@ -76,7 +74,7 @@ static int dac7512_remove(struct spi_device *spi) static struct spi_driver dac7512_driver = { .driver = { - .name = DAC7512_DRV_NAME, + .name = "dac7512", .owner = THIS_MODULE, }, .probe = dac7512_probe,