mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'for-rmk' of git://source.mvista.com/git/linux-davinci-2.6.git
Merge branch 'davinci' into devel
This commit is contained in:
commit
c97f68145e
113 changed files with 1861 additions and 981 deletions
|
|
@ -748,7 +748,9 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops
|
|||
|
||||
add_timer(&skt->poll_timer);
|
||||
|
||||
device_create_file(&skt->socket.dev, &dev_attr_status);
|
||||
ret = device_create_file(&skt->socket.dev, &dev_attr_status);
|
||||
if (ret)
|
||||
goto out_err_8;
|
||||
}
|
||||
|
||||
dev_set_drvdata(dev, sinfo);
|
||||
|
|
@ -758,6 +760,8 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops
|
|||
do {
|
||||
skt = &sinfo->skt[i];
|
||||
|
||||
device_remove_file(&skt->socket.dev, &dev_attr_status);
|
||||
out_err_8:
|
||||
del_timer_sync(&skt->poll_timer);
|
||||
pcmcia_unregister_socket(&skt->socket);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue