projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86da8be
)
mfd: intel_soc_pmic_bxtwc: Drop unneeded casting
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Tue, 28 Jun 2022 22:17:46 +0000
(
01:17
+0300)
committer
Lee Jones
<lee@kernel.org>
Tue, 19 Jul 2022 09:54:42 +0000
(10:54 +0100)
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
drivers/mfd/intel_soc_pmic_bxtwc.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/intel_soc_pmic_bxtwc.c
b/drivers/mfd/intel_soc_pmic_bxtwc.c
index
db7bda1
..
1a80038
100644
(file)
--- a/
drivers/mfd/intel_soc_pmic_bxtwc.c
+++ b/
drivers/mfd/intel_soc_pmic_bxtwc.c
@@
-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,