diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 20:44:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 20:44:09 -0400 |
commit | 85f2901bdf4bdc0d034e1bbe8629e269ec200389 (patch) | |
tree | 2dcf1d35bae18a7205e56a050ae87cf0053e76fa /drivers/i2c/busses | |
parent | f583381f506dc53b9d3e98cf9d6577323eb3fcd2 (diff) | |
parent | fcdd5f09c03bfc95f196dfa781ff447c5cbcc319 (diff) |
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang:
"This has a mixture of merge window cleanups and bugfixes"
* 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: st: add include for pinctrl
i2c: mux: use proper dev when removing "channel-X" symlinks
i2c: digicolor: remove duplicate include
i2c: Mark adapter devices with pm_runtime_no_callbacks
i2c: pca-platform: fix broken email address
i2c: mxs: fix broken email address
i2c: rk3x: report number of messages transmitted
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-digicolor.c | 3 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-mxs.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-pca-platform.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-rk3x.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-st.c | 13 |
5 files changed, 11 insertions, 11 deletions
diff --git a/drivers/i2c/busses/i2c-digicolor.c b/drivers/i2c/busses/i2c-digicolor.c index 03f1e5549896..9604024e0eb0 100644 --- a/drivers/i2c/busses/i2c-digicolor.c +++ b/drivers/i2c/busses/i2c-digicolor.c | |||
@@ -12,11 +12,10 @@ | |||
12 | 12 | ||
13 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
14 | #include <linux/completion.h> | 14 | #include <linux/completion.h> |
15 | #include <linux/delay.h> | ||
15 | #include <linux/i2c.h> | 16 | #include <linux/i2c.h> |
16 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
17 | #include <linux/io.h> | 18 | #include <linux/io.h> |
18 | #include <linux/clk.h> | ||
19 | #include <linux/delay.h> | ||
20 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
21 | #include <linux/module.h> | 20 | #include <linux/module.h> |
22 | #include <linux/of.h> | 21 | #include <linux/of.h> |
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index 56fceff6ba14..3e84f6c090a5 100644 --- a/drivers/i2c/busses/i2c-mxs.c +++ b/drivers/i2c/busses/i2c-mxs.c | |||
@@ -913,7 +913,7 @@ static void __exit mxs_i2c_exit(void) | |||
913 | module_exit(mxs_i2c_exit); | 913 | module_exit(mxs_i2c_exit); |
914 | 914 | ||
915 | MODULE_AUTHOR("Marek Vasut <marex@denx.de>"); | 915 | MODULE_AUTHOR("Marek Vasut <marex@denx.de>"); |
916 | MODULE_AUTHOR("Wolfram Sang <w.sang@pengutronix.de>"); | 916 | MODULE_AUTHOR("Wolfram Sang <kernel@pengutronix.de>"); |
917 | MODULE_DESCRIPTION("MXS I2C Bus Driver"); | 917 | MODULE_DESCRIPTION("MXS I2C Bus Driver"); |
918 | MODULE_LICENSE("GPL"); | 918 | MODULE_LICENSE("GPL"); |
919 | MODULE_ALIAS("platform:" DRIVER_NAME); | 919 | MODULE_ALIAS("platform:" DRIVER_NAME); |
diff --git a/drivers/i2c/busses/i2c-pca-platform.c b/drivers/i2c/busses/i2c-pca-platform.c index 6336f02ec566..3bd2e7d06e4b 100644 --- a/drivers/i2c/busses/i2c-pca-platform.c +++ b/drivers/i2c/busses/i2c-pca-platform.c | |||
@@ -285,6 +285,6 @@ static struct platform_driver i2c_pca_pf_driver = { | |||
285 | 285 | ||
286 | module_platform_driver(i2c_pca_pf_driver); | 286 | module_platform_driver(i2c_pca_pf_driver); |
287 | 287 | ||
288 | MODULE_AUTHOR("Wolfram Sang <w.sang@pengutronix.de>"); | 288 | MODULE_AUTHOR("Wolfram Sang <kernel@pengutronix.de>"); |
289 | MODULE_DESCRIPTION("I2C-PCA9564/PCA9665 platform driver"); | 289 | MODULE_DESCRIPTION("I2C-PCA9564/PCA9665 platform driver"); |
290 | MODULE_LICENSE("GPL"); | 290 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 5f96b1b3e3a5..019d5426fe52 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c | |||
@@ -833,7 +833,7 @@ static int rk3x_i2c_xfer(struct i2c_adapter *adap, | |||
833 | clk_disable(i2c->clk); | 833 | clk_disable(i2c->clk); |
834 | spin_unlock_irqrestore(&i2c->lock, flags); | 834 | spin_unlock_irqrestore(&i2c->lock, flags); |
835 | 835 | ||
836 | return ret; | 836 | return ret < 0 ? ret : num; |
837 | } | 837 | } |
838 | 838 | ||
839 | static u32 rk3x_i2c_func(struct i2c_adapter *adap) | 839 | static u32 rk3x_i2c_func(struct i2c_adapter *adap) |
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index 88057fad9dfe..ea72dca32fdf 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c | |||
@@ -10,17 +10,18 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/module.h> | ||
14 | #include <linux/platform_device.h> | ||
15 | #include <linux/i2c.h> | ||
16 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
17 | #include <linux/io.h> | ||
18 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
19 | #include <linux/interrupt.h> | ||
20 | #include <linux/err.h> | 15 | #include <linux/err.h> |
21 | #include <linux/of.h> | 16 | #include <linux/i2c.h> |
17 | #include <linux/interrupt.h> | ||
18 | #include <linux/io.h> | ||
19 | #include <linux/module.h> | ||
22 | #include <linux/of_address.h> | 20 | #include <linux/of_address.h> |
23 | #include <linux/of_irq.h> | 21 | #include <linux/of_irq.h> |
22 | #include <linux/of.h> | ||
23 | #include <linux/pinctrl/consumer.h> | ||
24 | #include <linux/platform_device.h> | ||
24 | 25 | ||
25 | /* SSC registers */ | 26 | /* SSC registers */ |
26 | #define SSC_BRG 0x000 | 27 | #define SSC_BRG 0x000 |