mirror of https://gitee.com/openkylin/linux.git
drivers: pcmcia: electra_cf.c fix checkpatch error and warnings
fix these checkpatch errors and warning: - ERROR: "foo * bar" should be "foo *bar" - WARNING: please, no space before tabs - WARNING: sizeof *cf should be sizeof(*cf) - WARNING: space prohibited between function name and open parenthesis '('i Signed-off-by: Laurent Navet <laurent.navet@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
46f533ccb8
commit
0f06abd38e
|
@ -202,7 +202,7 @@ static int electra_cf_probe(struct platform_device *ofdev)
|
|||
if (err)
|
||||
return -EINVAL;
|
||||
|
||||
cf = kzalloc(sizeof *cf, GFP_KERNEL);
|
||||
cf = kzalloc(sizeof(*cf), GFP_KERNEL);
|
||||
if (!cf)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
Loading…
Reference in New Issue