mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 10:13:57 +08:00
pwm: mediatek: Remove unused function
Fix the following clang warning: drivers/pwm/pwm-mediatek.c:110:19: warning: unused function 'pwm_mediatek_readl' [-Wunused-function]. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
9e6fd830ab
commit
0b638f5032
@ -107,12 +107,6 @@ static void pwm_mediatek_clk_disable(struct pwm_chip *chip,
|
||||
clk_disable_unprepare(pc->clk_top);
|
||||
}
|
||||
|
||||
static inline u32 pwm_mediatek_readl(struct pwm_mediatek_chip *chip,
|
||||
unsigned int num, unsigned int offset)
|
||||
{
|
||||
return readl(chip->regs + pwm_mediatek_reg_offset[num] + offset);
|
||||
}
|
||||
|
||||
static inline void pwm_mediatek_writel(struct pwm_mediatek_chip *chip,
|
||||
unsigned int num, unsigned int offset,
|
||||
u32 value)
|
||||
|
Loading…
Reference in New Issue
Block a user