Skip to content

Commit d0e9441

Browse files
Wolfram SangAndi Shyti
authored andcommitted
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 <wsa+renesas@sang-engineering.com> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent 401a8e9 commit d0e9441

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/i2c/busses/i2c-mpc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
#include <asm/mpc85xx.h>
3131
#include <sysdev/fsl_soc.h>
3232

33-
#define DRV_NAME "mpc-i2c"
34-
3533
#define MPC_I2C_CLOCK_LEGACY 0
3634
#define MPC_I2C_CLOCK_PRESERVE (~0U)
3735

@@ -960,7 +958,7 @@ static struct platform_driver mpc_i2c_driver = {
960958
.probe = fsl_i2c_probe,
961959
.remove_new = fsl_i2c_remove,
962960
.driver = {
963-
.name = DRV_NAME,
961+
.name = "mpc-i2c",
964962
.of_match_table = mpc_i2c_of_match,
965963
.pm = &mpc_i2c_pm_ops,
966964
},

0 commit comments

Comments
 (0)