mfd: intel_soc_pmic_bxtwc: Drop unneeded casting
The casting from size_t to ssize_t is not needed in addr_store(), drop it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20220628221747.33956-10-andriy.shevchenko@linux.intel.com
This commit is contained in:
Родитель
86da8be35c
Коммит
7c06d47850
|
@ -346,7 +346,7 @@ static ssize_t addr_store(struct device *dev,
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
return (ssize_t)count;
|
||||
return count;
|
||||
}
|
||||
|
||||
static ssize_t val_show(struct device *dev,
|
||||
|
|
Загрузка…
Ссылка в новой задаче