Skip to content

Commit

Permalink
Merge branch 'pxa/fixes' into next/fixes-non-critical
Browse files Browse the repository at this point in the history
* pxa/fixes:
  ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()
  • Loading branch information
Olof Johansson committed Sep 22, 2012
2 parents b536661 + e09a716 commit b10731f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/pxa2xx_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int pxa2xx_drv_pcmcia_probe(struct platform_device *dev)
}

clk = clk_get(&dev->dev, NULL);
if (!clk)
if (IS_ERR(clk))
return -ENODEV;

pxa2xx_drv_pcmcia_ops(ops);
Expand Down

0 comments on commit b10731f

Please sign in to comment.