mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
PCI: rcar: Remove DRV_NAME macro
The DRV_NAME macro is only used once, so there's no real advantage to having the macro at all. Remove it and use the "rcar-pcie" name directly in the struct platform_driver. No functional change intended. Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Simon Horman <[email protected]>
This commit is contained in:
parent
d0206f2121
commit
3ff8e4ac3a
1 changed files with 1 additions and 3 deletions
|
|
@ -31,8 +31,6 @@
|
|||
#include <linux/pm_runtime.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#define DRV_NAME "rcar-pcie"
|
||||
|
||||
#define PCIECAR 0x000010
|
||||
#define PCIECCTLR 0x000018
|
||||
#define CONFIG_SEND_ENABLE (1 << 31)
|
||||
|
|
@ -1199,7 +1197,7 @@ err_pm_disable:
|
|||
|
||||
static struct platform_driver rcar_pcie_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.name = "rcar-pcie",
|
||||
.of_match_table = rcar_pcie_of_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue