mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
i2c: pmcmsp: remove dead code
CPPCHECK rightfully says: drivers/i2c/busses/i2c-pmcmsp.c:151: style: The function 'pmcmsptwi_reg_to_clock' is never used. Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
523c5b8964
commit
1c57499361
1 changed files with 0 additions and 7 deletions
|
|
@ -148,13 +148,6 @@ static inline u32 pmcmsptwi_clock_to_reg(
|
|||
return ((clock->filter & 0xf) << 12) | (clock->clock & 0x03ff);
|
||||
}
|
||||
|
||||
static inline void pmcmsptwi_reg_to_clock(
|
||||
u32 reg, struct pmcmsptwi_clock *clock)
|
||||
{
|
||||
clock->filter = (reg >> 12) & 0xf;
|
||||
clock->clock = reg & 0x03ff;
|
||||
}
|
||||
|
||||
static inline u32 pmcmsptwi_cfg_to_reg(const struct pmcmsptwi_cfg *cfg)
|
||||
{
|
||||
return ((cfg->arbf & 0xf) << 12) |
|
||||
|
|
|
|||
Loading…
Reference in a new issue