From: Wolfram Sang Date: Thu, 29 Feb 2024 10:58:13 +0000 (+0100) Subject: i2c: mpc: remove outdated macro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d0e944150446d8056a050049a8f0e98241ba6194;p=linux.git i2c: mpc: remove outdated macro DRV_NAME was useful back in the days. But here, being used once, it is only cruft. Signed-off-by: Wolfram Sang Reviewed-by: Chris Packham Tested-by: Chris Packham Signed-off-by: Andi Shyti --- diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 0b4de9e569baa..8d73c0f405ed5 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c @@ -30,8 +30,6 @@ #include #include -#define DRV_NAME "mpc-i2c" - #define MPC_I2C_CLOCK_LEGACY 0 #define MPC_I2C_CLOCK_PRESERVE (~0U) @@ -960,7 +958,7 @@ static struct platform_driver mpc_i2c_driver = { .probe = fsl_i2c_probe, .remove_new = fsl_i2c_remove, .driver = { - .name = DRV_NAME, + .name = "mpc-i2c", .of_match_table = mpc_i2c_of_match, .pm = &mpc_i2c_pm_ops, },