mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
arm-cci: don't return value from void function
pmu_write_register has a void return type, so remove the useless return statement. Signed-off-by: Will Deacon <[email protected]>
This commit is contained in:
parent
ceb4951244
commit
6ec3070298
1 changed files with 2 additions and 2 deletions
|
|
@ -758,8 +758,8 @@ static u32 pmu_read_register(struct cci_pmu *cci_pmu, int idx, unsigned int offs
|
|||
static void pmu_write_register(struct cci_pmu *cci_pmu, u32 value,
|
||||
int idx, unsigned int offset)
|
||||
{
|
||||
return writel_relaxed(value, cci_pmu->base +
|
||||
CCI_PMU_CNTR_BASE(cci_pmu->model, idx) + offset);
|
||||
writel_relaxed(value, cci_pmu->base +
|
||||
CCI_PMU_CNTR_BASE(cci_pmu->model, idx) + offset);
|
||||
}
|
||||
|
||||
static void pmu_disable_counter(struct cci_pmu *cci_pmu, int idx)
|
||||
|
|
|
|||
Loading…
Reference in a new issue