diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
commit | b9f12a5d97f652c77ef6803dccd0d40d1290f5be (patch) | |
tree | 8f58c8620ffef0d350a5ec022feda492a96b179a /drivers/spi/spi-s3c64xx.c | |
parent | 9d8dc3e529a19e427fd379118acd132520935c5d (diff) | |
parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) |
Merge tag 'v3.16-rc6' into next
Merge with mainline to bring in changes to MFD to allow merging
ipaq-micro-ts driver.
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index f19cd97855e8..75a56968b14c 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/workqueue.h> | ||
23 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/clk.h> | 24 | #include <linux/clk.h> |
@@ -773,7 +772,6 @@ static struct s3c64xx_spi_csinfo *s3c64xx_get_slave_ctrldata( | |||
773 | 772 | ||
774 | cs = kzalloc(sizeof(*cs), GFP_KERNEL); | 773 | cs = kzalloc(sizeof(*cs), GFP_KERNEL); |
775 | if (!cs) { | 774 | if (!cs) { |
776 | dev_err(&spi->dev, "could not allocate memory for controller data\n"); | ||
777 | of_node_put(data_np); | 775 | of_node_put(data_np); |
778 | return ERR_PTR(-ENOMEM); | 776 | return ERR_PTR(-ENOMEM); |
779 | } | 777 | } |
@@ -987,10 +985,8 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev) | |||
987 | u32 temp; | 985 | u32 temp; |
988 | 986 | ||
989 | sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); | 987 | sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); |
990 | if (!sci) { | 988 | if (!sci) |
991 | dev_err(dev, "memory allocation for spi_info failed\n"); | ||
992 | return ERR_PTR(-ENOMEM); | 989 | return ERR_PTR(-ENOMEM); |
993 | } | ||
994 | 990 | ||
995 | if (of_property_read_u32(dev->of_node, "samsung,spi-src-clk", &temp)) { | 991 | if (of_property_read_u32(dev->of_node, "samsung,spi-src-clk", &temp)) { |
996 | dev_warn(dev, "spi bus clock parent not specified, using clock at index 0 as parent\n"); | 992 | dev_warn(dev, "spi bus clock parent not specified, using clock at index 0 as parent\n"); |