summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pcmcia_ioctl.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2006-09-12 17:00:10 +0200
committerGreg Kroah-Hartman2007-02-07 19:37:11 +0100
commit873733188a019acdb7fa253011cbdc0a8afd97f3 (patch)
tree99828bd5db2f183e1b2d2204dc2c94bd1f8fdbbb /drivers/pcmcia/pcmcia_ioctl.c
parentKobject: make kobject apis more robust in handling NULL pointers (diff)
downloadkernel-qcow2-linux-873733188a019acdb7fa253011cbdc0a8afd97f3.tar.gz
kernel-qcow2-linux-873733188a019acdb7fa253011cbdc0a8afd97f3.tar.xz
kernel-qcow2-linux-873733188a019acdb7fa253011cbdc0a8afd97f3.zip
Driver core: convert pcmcia code to use struct device
Converts from using struct "class_device" to "struct device" making everything show up properly in /sys/devices/ with symlinks from the /sys/class directory. Cc: <linux-pcmcia@lists.infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pcmcia/pcmcia_ioctl.c')
-rw-r--r--drivers/pcmcia/pcmcia_ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_ioctl.c b/drivers/pcmcia/pcmcia_ioctl.c
index 327372b7a54e..88494149e910 100644
--- a/drivers/pcmcia/pcmcia_ioctl.c
+++ b/drivers/pcmcia/pcmcia_ioctl.c
@@ -59,7 +59,6 @@ typedef struct user_info_t {
#ifdef DEBUG
extern int ds_pc_debug;
-#define cs_socket_name(skt) ((skt)->dev.class_id)
#define ds_dbg(lvl, fmt, arg...) do { \
if (ds_pc_debug >= lvl) \