summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-11 18:49:44 (GMT)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-12 10:32:53 (GMT)
commit6341dd72eaae5b576b425fe7b885f11aedcdc1e4 (patch)
treef8ee1f36c05fbde3c38b1386d6129c6fd11b479f
parent38447088781524a9b3c0e44291ff1437eb1c21a2 (diff)
downloadu-boot-rockchip-6341dd72eaae5b576b425fe7b885f11aedcdc1e4.tar.gz
u-boot-rockchip-6341dd72eaae5b576b425fe7b885f11aedcdc1e4.tar.xz
rockchip: clk: rk3399: remove unused fields from priv-structures
This removes the unused 'rate' field from both rk3399_pmuclk_priv and rk3399_clk_priv. I didn't bother to check where this came from (i.e. what the historical context of these was), but only verified that these are indeed unused across all code-paths. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/arm/include/asm/arch-rockchip/cru_rk3399.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
index cf830d0..033f067 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
@@ -12,12 +12,10 @@
/* Private data for the clock driver - used by rockchip_get_cru() */
struct rk3399_clk_priv {
struct rk3399_cru *cru;
- ulong rate;
};
struct rk3399_pmuclk_priv {
struct rk3399_pmucru *pmucru;
- ulong rate;
};
struct rk3399_pmucru {