projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git]
/
drivers
/
gpio
/
gpio-da9052.c
diff --git
a/drivers/gpio/gpio-da9052.c
b/drivers/gpio/gpio-da9052.c
index
389a4d2
..
2e9578e
100644
(file)
--- a/
drivers/gpio/gpio-da9052.c
+++ b/
drivers/gpio/gpio-da9052.c
@@
-212,7
+212,7
@@
static int da9052_gpio_probe(struct platform_device *pdev)
int ret;
gpio = devm_kzalloc(&pdev->dev, sizeof(*gpio), GFP_KERNEL);
- if (
gpio == NULL
)
+ if (
!gpio
)
return -ENOMEM;
gpio->da9052 = dev_get_drvdata(pdev->dev.parent);