]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: rockchip: Clean the unused type and label
authorDavid Wu <david.wu@rock-chips.com>
Tue, 16 Apr 2019 13:57:54 +0000 (21:57 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 8 May 2019 09:34:12 +0000 (17:34 +0800)
As the mux/pull/drive feature implement at own file,
the type and label are not necessary.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
drivers/pinctrl/rockchip/pinctrl-rk3036.c
drivers/pinctrl/rockchip/pinctrl-rk3128.c
drivers/pinctrl/rockchip/pinctrl-rk3188.c
drivers/pinctrl/rockchip/pinctrl-rk322x.c
drivers/pinctrl/rockchip/pinctrl-rk3288.c
drivers/pinctrl/rockchip/pinctrl-rk3328.c
drivers/pinctrl/rockchip/pinctrl-rk3368.c
drivers/pinctrl/rockchip/pinctrl-rk3399.c
drivers/pinctrl/rockchip/pinctrl-rockchip.h
drivers/pinctrl/rockchip/pinctrl-rv1108.c

index 498b633f227f68b08ade130f505dbbf645ff3fa3..28c905129ba1aabbdf6d26bd64a99eeb50accc82 100644 (file)
@@ -83,8 +83,6 @@ static struct rockchip_pin_bank rk3036_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3036_pin_ctrl = {
        .pin_banks              = rk3036_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3036_pin_banks),
-       .label                  = "RK3036-GPIO",
-       .type                   = RK3036,
        .grf_mux_offset         = 0xa8,
        .set_mux                = rk3036_set_mux,
        .set_pull               = rk3036_set_pull,
index 104b76c19ee482de13ec49b4ad4f687d6ce9e828..3eb4d952bb5f1a94dc39b707fc0180fe9b8481cd 100644 (file)
@@ -183,8 +183,6 @@ static struct rockchip_pin_bank rk3128_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3128_pin_ctrl = {
        .pin_banks              = rk3128_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3128_pin_banks),
-       .label                  = "RK3128-GPIO",
-       .type                   = RK3128,
        .grf_mux_offset         = 0xa8,
        .iomux_recalced         = rk3128_mux_recalced_data,
        .niomux_recalced        = ARRAY_SIZE(rk3128_mux_recalced_data),
index e09c799e7209ca85c23406f5c7acb90993a04d27..043764fc92093b4c64e5a3f0938af3779b9bd55f 100644 (file)
@@ -108,8 +108,6 @@ static struct rockchip_pin_bank rk3188_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3188_pin_ctrl = {
        .pin_banks              = rk3188_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3188_pin_banks),
-       .label                  = "RK3188-GPIO",
-       .type                   = RK3188,
        .grf_mux_offset         = 0x60,
        .set_mux                = rk3188_set_mux,
        .set_pull               = rk3188_set_pull,
index b69d9795bbfdd7bf0f95bcbb06e2084603666723..c5e4fe30a7bf0e508d750ede7ff19b2ce1d48d76 100644 (file)
@@ -268,8 +268,6 @@ static struct rockchip_pin_bank rk3228_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3228_pin_ctrl = {
        .pin_banks              = rk3228_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3228_pin_banks),
-       .label                  = "RK3228-GPIO",
-       .type                   = RK3288,
        .grf_mux_offset         = 0x0,
        .iomux_routes           = rk3228_mux_route_data,
        .niomux_routes          = ARRAY_SIZE(rk3228_mux_route_data),
index 24af3597ecef78e67583bc44ebd76b502734d5e1..7ae147f304b48ee679f93ef911f2032a8f3ca7d0 100644 (file)
@@ -223,8 +223,6 @@ static struct rockchip_pin_bank rk3288_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3288_pin_ctrl = {
        .pin_banks              = rk3288_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3288_pin_banks),
-       .label                  = "RK3288-GPIO",
-       .type                   = RK3288,
        .grf_mux_offset         = 0x0,
        .pmu_mux_offset         = 0x84,
        .iomux_routes           = rk3288_mux_route_data,
index 7ac5c0226e5c1acd5c188d58d07d9f9f3ebade64..d4d37af2068967d4c000d5b3ea3f02383a940dd2 100644 (file)
@@ -281,8 +281,6 @@ static struct rockchip_pin_bank rk3328_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3328_pin_ctrl = {
        .pin_banks              = rk3328_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3328_pin_banks),
-       .label                  = "RK3328-GPIO",
-       .type                   = RK3288,
        .grf_mux_offset         = 0x0,
        .iomux_recalced         = rk3328_mux_recalced_data,
        .niomux_recalced        = ARRAY_SIZE(rk3328_mux_recalced_data),
index 06de27aa307fd269cbeca8ec43f467269817fc66..6cb7bb45d94757708f0a14741b0b71c05664b016 100644 (file)
@@ -155,8 +155,6 @@ static struct rockchip_pin_bank rk3368_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3368_pin_ctrl = {
        .pin_banks              = rk3368_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3368_pin_banks),
-       .label                  = "RK3368-GPIO",
-       .type                   = RK3368,
        .grf_mux_offset         = 0x0,
        .pmu_mux_offset         = 0x0,
        .set_mux                = rk3368_set_mux,
index 68bb492a6bda5ee5a927f51d63ba388f2b71ccc5..75634e9f4d4d49841a14cecc1f9a676499b41cff 100644 (file)
@@ -290,8 +290,6 @@ static struct rockchip_pin_bank rk3399_pin_banks[] = {
 static struct rockchip_pin_ctrl rk3399_pin_ctrl = {
        .pin_banks              = rk3399_pin_banks,
        .nr_banks               = ARRAY_SIZE(rk3399_pin_banks),
-       .label                  = "RK3399-GPIO",
-       .type                   = RK3399,
        .grf_mux_offset         = 0xe000,
        .pmu_mux_offset         = 0x0,
        .grf_drv_offset         = 0xe100,
index c21b79602ca11a657cad7234183f59d9fde2f44f..1c6fc2c5b2bef9f4b1d1a0a3813fdcf2c80de1ce 100644 (file)
@@ -8,16 +8,6 @@
 
 #include <linux/types.h>
 
-enum rockchip_pinctrl_type {
-       RV1108,
-       RK3036,
-       RK3128,
-       RK3188,
-       RK3288,
-       RK3368,
-       RK3399,
-};
-
 /**
  * Encode variants of iomux registers into a type variable
  */
@@ -266,8 +256,6 @@ struct rockchip_pin_ctrl {
        struct rockchip_pin_bank        *pin_banks;
        u32                             nr_banks;
        u32                             nr_pins;
-       char                            *label;
-       enum rockchip_pinctrl_type      type;
        int                             grf_mux_offset;
        int                             pmu_mux_offset;
        int                             grf_drv_offset;
index 6456483e362040c26c08ccaf9715e0caa30f283f..0bcf11bb4195fac80419cf2dfebe5731ecb1bb47 100644 (file)
@@ -250,8 +250,6 @@ static struct rockchip_pin_bank rv1108_pin_banks[] = {
 static struct rockchip_pin_ctrl rv1108_pin_ctrl = {
        .pin_banks              = rv1108_pin_banks,
        .nr_banks               = ARRAY_SIZE(rv1108_pin_banks),
-       .label                  = "RV1108-GPIO",
-       .type                   = RV1108,
        .grf_mux_offset         = 0x10,
        .pmu_mux_offset         = 0x0,
        .iomux_recalced         = rv1108_mux_recalced_data,