projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'clockevents/fixes' of git://git.linaro.org/people/daniel.lezcano/linux...
[linux-drm-fsl-dcu.git]
/
drivers
/
platform
/
x86
/
intel_mid_powerbtn.c
diff --git
a/drivers/platform/x86/intel_mid_powerbtn.c
b/drivers/platform/x86/intel_mid_powerbtn.c
index 6b18aba82cfae450bde3cad8fd2b2d01f20b3d03..8d6775266d66263bac3bdd45d7a5f580e598731e 100644
(file)
--- a/
drivers/platform/x86/intel_mid_powerbtn.c
+++ b/
drivers/platform/x86/intel_mid_powerbtn.c
@@
-66,10
+66,8
@@
static int mfld_pb_probe(struct platform_device *pdev)
return -EINVAL;
input = input_allocate_device();
- if (!input) {
- dev_err(&pdev->dev, "Input device allocation error\n");
+ if (!input)
return -ENOMEM;
- }
input->name = pdev->name;
input->phys = "power-button/input0";