const char *str;
        u8 val;
 
-       priv = kzalloc(sizeof(struct ch7017_priv), GFP_KERNEL);
+       priv = kzalloc(sizeof(*priv), GFP_KERNEL);
        if (priv == NULL)
                return false;
 
 
        u8 vendor, device;
        char *name, *devid;
 
-       ch7xxx = kzalloc(sizeof(struct ch7xxx_priv), GFP_KERNEL);
+       ch7xxx = kzalloc(sizeof(*ch7xxx), GFP_KERNEL);
        if (ch7xxx == NULL)
                return false;
 
 
        u16 temp;
        int i;
 
-       priv = kzalloc(sizeof(struct ivch_priv), GFP_KERNEL);
+       priv = kzalloc(sizeof(*priv), GFP_KERNEL);
        if (priv == NULL)
                return false;
 
 
        struct ns2501_priv *ns;
        unsigned char ch;
 
-       ns = kzalloc(sizeof(struct ns2501_priv), GFP_KERNEL);
+       ns = kzalloc(sizeof(*ns), GFP_KERNEL);
        if (ns == NULL)
                return false;
 
 
        struct sil164_priv *sil;
        unsigned char ch;
 
-       sil = kzalloc(sizeof(struct sil164_priv), GFP_KERNEL);
+       sil = kzalloc(sizeof(*sil), GFP_KERNEL);
        if (sil == NULL)
                return false;
 
 
        struct tfp410_priv *tfp;
        int id;
 
-       tfp = kzalloc(sizeof(struct tfp410_priv), GFP_KERNEL);
+       tfp = kzalloc(sizeof(*tfp), GFP_KERNEL);
        if (tfp == NULL)
                return false;