You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present
Instead of the DEV_OK macro, drivers should use pcmcia_dev_present(). Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -280,7 +280,7 @@ static int pdacf_resume(struct pcmcia_device *link)
|
||||
struct snd_pdacf *chip = link->priv;
|
||||
|
||||
snd_printdd(KERN_DEBUG "RESUME\n");
|
||||
if (DEV_OK(link)) {
|
||||
if (pcmcia_dev_present(link)) {
|
||||
if (chip) {
|
||||
snd_printdd(KERN_DEBUG "calling snd_pdacf_resume\n");
|
||||
snd_pdacf_resume(chip);
|
||||
|
||||
@@ -291,7 +291,7 @@ static int vxp_resume(struct pcmcia_device *link)
|
||||
struct vx_core *chip = link->priv;
|
||||
|
||||
snd_printdd(KERN_DEBUG "RESUME\n");
|
||||
if (DEV_OK(link)) {
|
||||
if (pcmcia_dev_present(link)) {
|
||||
//struct snd_vxpocket *vxp = (struct snd_vxpocket *)chip;
|
||||
if (chip) {
|
||||
snd_printdd(KERN_DEBUG "calling snd_vx_resume\n");
|
||||
|
||||
Reference in New Issue
Block a user