diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-11-21 05:38:13 -0500 |
commit | 851462444d421c223965b12b836bef63da61b57f (patch) | |
tree | 495baa14e638817941496c36e1443aed7dae0ea0 /drivers/net/irda/pxaficp_ir.c | |
parent | 5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc (diff) | |
parent | 6924d99fcdf1a688538a3cdebd1f135c22eec191 (diff) |
Merge branch 'for-3.7' of git://git.infradead.org/users/dedekind/l2-mtd
Conflicts:
drivers/mtd/nand/nand_base.c
Diffstat (limited to 'drivers/net/irda/pxaficp_ir.c')
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 002a442bf73f..858de05bdb7d 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -846,8 +846,10 @@ static int pxa_irda_probe(struct platform_device *pdev) | |||
846 | goto err_mem_2; | 846 | goto err_mem_2; |
847 | 847 | ||
848 | dev = alloc_irdadev(sizeof(struct pxa_irda)); | 848 | dev = alloc_irdadev(sizeof(struct pxa_irda)); |
849 | if (!dev) | 849 | if (!dev) { |
850 | err = -ENOMEM; | ||
850 | goto err_mem_3; | 851 | goto err_mem_3; |
852 | } | ||
851 | 853 | ||
852 | SET_NETDEV_DEV(dev, &pdev->dev); | 854 | SET_NETDEV_DEV(dev, &pdev->dev); |
853 | si = netdev_priv(dev); | 855 | si = netdev_priv(dev); |