Skip to content

Commit 7c06d47

Browse files
andy-shevlag-linaro
authored andcommitted
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 <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 86da8be commit 7c06d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/intel_soc_pmic_bxtwc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ static ssize_t addr_store(struct device *dev,
346346
if (ret)
347347
return ret;
348348

349-
return (ssize_t)count;
349+
return count;
350350
}
351351

352352
static ssize_t val_show(struct device *dev,

0 commit comments

Comments
 (0)