struct gameport *port;
        int error;
 
-       emu = kzalloc(sizeof(struct emu), GFP_KERNEL);
+       emu = kzalloc(sizeof(*emu), GFP_KERNEL);
        port = gameport_allocate_port();
        if (!emu || !port) {
                printk(KERN_ERR "emu10k1-gp: Memory allocation failed\n");
 
        struct gameport *port;
        int error;
 
-       gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL);
+       gp = kzalloc(sizeof(*gp), GFP_KERNEL);
        port = gameport_allocate_port();
        if (!gp || !port) {
                printk(KERN_ERR "fm801-gp: Memory allocation failed\n");
 
                }
        }
 
-       event = kmalloc(sizeof(struct gameport_event), GFP_ATOMIC);
+       event = kmalloc(sizeof(*event), GFP_ATOMIC);
        if (!event) {
                pr_err("Not enough memory to queue event %d\n", event_type);
                retval = -ENOMEM;
 
                        return -EBUSY;
        }
 
-       ns558 = kzalloc(sizeof(struct ns558), GFP_KERNEL);
+       ns558 = kzalloc(sizeof(*ns558), GFP_KERNEL);
        port = gameport_allocate_port();
        if (!ns558 || !port) {
                printk(KERN_ERR "ns558: Memory allocation failed.\n");
        if (!request_region(ioport, iolen, "ns558-pnp"))
                return -EBUSY;
 
-       ns558 = kzalloc(sizeof(struct ns558), GFP_KERNEL);
+       ns558 = kzalloc(sizeof(*ns558), GFP_KERNEL);
        port = gameport_allocate_port();
        if (!ns558 || !port) {
                printk(KERN_ERR "ns558: Memory allocation failed\n");