pd6729: Coding Style fixes
pd6729: remove unnecessary space. Signed-off-by: Komuro <komurojun-mbn@nifty.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
Родитель
f6614b7bb4
Коммит
006839f12e
|
@ -725,17 +725,17 @@ static int __devinit pd6729_pci_probe(struct pci_dev *dev,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err_out_free_res2:
|
err_out_free_res2:
|
||||||
if (irq_mode == 1)
|
if (irq_mode == 1)
|
||||||
free_irq(dev->irq, socket);
|
free_irq(dev->irq, socket);
|
||||||
else
|
else
|
||||||
del_timer_sync(&socket->poll_timer);
|
del_timer_sync(&socket->poll_timer);
|
||||||
err_out_free_res:
|
err_out_free_res:
|
||||||
pci_release_regions(dev);
|
pci_release_regions(dev);
|
||||||
err_out_disable:
|
err_out_disable:
|
||||||
pci_disable_device(dev);
|
pci_disable_device(dev);
|
||||||
|
|
||||||
err_out_free_mem:
|
err_out_free_mem:
|
||||||
kfree(socket);
|
kfree(socket);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
struct pd6729_socket {
|
struct pd6729_socket {
|
||||||
int number;
|
int number;
|
||||||
int card_irq;
|
int card_irq;
|
||||||
unsigned long io_base; /* base io address of the socket */
|
unsigned long io_base; /* base io address of the socket */
|
||||||
struct pcmcia_socket socket;
|
struct pcmcia_socket socket;
|
||||||
struct timer_list poll_timer;
|
struct timer_list poll_timer;
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче