projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67c385
)
iio:dac:mcp4725 wrong return type of attribute _show function
author
Jonathan Cameron
<jic23@kernel.org>
Fri, 12 Jul 2013 19:54:00 +0000
(20:54 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 3 Aug 2013 17:40:36 +0000
(18:40 +0100)
Should be ssize_t and is int.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reported-by: Fengguan Wu <fengguang.wu@intel.com>
Acked-by: Peter Meerwald <pmeerw@pmeerw.net>
drivers/iio/dac/mcp4725.c
patch
|
blob
|
history
diff --git
a/drivers/iio/dac/mcp4725.c
b/drivers/iio/dac/mcp4725.c
index f569738c94b1faf9aceace3ea03c8de9cf9e991a..18a78cd21e8833b8de9cf2fbab7265098ee17d4a 100644
(file)
--- a/
drivers/iio/dac/mcp4725.c
+++ b/
drivers/iio/dac/mcp4725.c
@@
-69,7
+69,7
@@
static SIMPLE_DEV_PM_OPS(mcp4725_pm_ops, mcp4725_suspend, mcp4725_resume);
#define MCP4725_PM_OPS NULL
#endif
-static
in
t mcp4725_store_eeprom(struct device *dev,
+static
ssize_
t mcp4725_store_eeprom(struct device *dev,
struct device_attribute *attr, const char *buf, size_t len)
{
struct iio_dev *indio_dev = dev_to_iio_dev(dev);