mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/genesis-2.6 into devel-stable
Conflicts: drivers/net/irda/sh_irda.c
This commit is contained in:
commit
500b9fc922
46 changed files with 5602 additions and 311 deletions
|
|
@ -748,7 +748,6 @@ static int __devinit sh_irda_probe(struct platform_device *pdev)
|
|||
struct net_device *ndev;
|
||||
struct sh_irda_self *self;
|
||||
struct resource *res;
|
||||
char clk_name[8];
|
||||
int irq;
|
||||
int err = -ENOMEM;
|
||||
|
||||
|
|
@ -775,10 +774,9 @@ static int __devinit sh_irda_probe(struct platform_device *pdev)
|
|||
if (err)
|
||||
goto err_mem_2;
|
||||
|
||||
snprintf(clk_name, sizeof(clk_name), "irda%d", pdev->id);
|
||||
self->clk = clk_get(&pdev->dev, clk_name);
|
||||
self->clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(self->clk)) {
|
||||
dev_err(&pdev->dev, "cannot get clock \"%s\"\n", clk_name);
|
||||
dev_err(&pdev->dev, "cannot get irda clock\n");
|
||||
goto err_mem_3;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue