Commit c7a6cbc0 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Remove unnecessary cast in gpio.c

Remove unnecessary cast in gpio.c
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 37d254b1
......@@ -1075,7 +1075,7 @@ int omap_request_dma_chain(int dev_id, const char *dev_name,
/* Allocate a queue to maintain the status of the channels
* in the chain */
channels = (int *)kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL);
channels = kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL);
if (channels == NULL) {
printk(KERN_ERR "omap_dma: No memory for channel queue\n");
return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment