From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:40:28 +0000 (-0500) Subject: PCI: rcar: Remove DRV_NAME macro X-Git-Tag: v4.9-rc1~32^2~2^6~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ff8e4ac3a343d0dff29b8f56c493bda9400541a;p=platform%2Fkernel%2Flinux-exynos.git 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 Acked-by: Simon Horman --- diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 800a86d09b68..62700d1896f4 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -31,8 +31,6 @@ #include #include -#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, },