[PATCH] pcmcia: remove dev_link_t and client_handle_t indirection
dev_link_t * and client_handle_t both mean struct pcmcai_device * by now. Therefore, remove all such indirections. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -31,7 +31,7 @@ typedef struct region_t {
|
||||
u_short region_magic;
|
||||
u_short state;
|
||||
dev_info_t dev_info;
|
||||
client_handle_t mtd;
|
||||
struct pcmcia_device *mtd;
|
||||
u_int MediaID;
|
||||
region_info_t info;
|
||||
} region_t;
|
||||
|
@@ -391,7 +391,6 @@ static int pcmcia_device_probe(struct device * dev)
|
||||
}
|
||||
|
||||
p_dev->p_state &= ~CLIENT_UNBOUND;
|
||||
p_dev->handle = p_dev;
|
||||
|
||||
ret = p_drv->probe(p_dev);
|
||||
if (ret)
|
||||
|
Reference in New Issue
Block a user