summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/arm-charlcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/auxdisplay/arm-charlcd.c')
-rw-r--r--drivers/auxdisplay/arm-charlcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/auxdisplay/arm-charlcd.c b/drivers/auxdisplay/arm-charlcd.c
index 0b1c99cca733..a7eae99a48f7 100644
--- a/drivers/auxdisplay/arm-charlcd.c
+++ b/drivers/auxdisplay/arm-charlcd.c
@@ -270,7 +270,7 @@ static int __init charlcd_probe(struct platform_device *pdev)
struct charlcd *lcd;
struct resource *res;
- lcd = kzalloc(sizeof(struct charlcd), GFP_KERNEL);
+ lcd = kzalloc(sizeof(*lcd), GFP_KERNEL);
if (!lcd)
return -ENOMEM;