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:
Andy Shevchenko 2022-06-29 01:17:46 +03:00 коммит произвёл Lee Jones
Родитель 86da8be35c
Коммит 7c06d47850
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,