Commit fdde1a82 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Darren Hart

platform/x86: intel_mid_powerbtn: Join string literals

There is no need and bad practice for debugging to split string
literals. Join them back.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 6a0f9988
...@@ -130,8 +130,8 @@ static irqreturn_t mid_pb_isr(int irq, void *dev_id) ...@@ -130,8 +130,8 @@ static irqreturn_t mid_pb_isr(int irq, void *dev_id)
ret = ddata->pbstat(ddata, &value); ret = ddata->pbstat(ddata, &value);
if (ret < 0) { if (ret < 0) {
dev_err(input->dev.parent, "Read error %d while reading" dev_err(input->dev.parent,
" MSIC_PB_STATUS\n", ret); "Read error %d while reading MSIC_PB_STATUS\n", ret);
} else { } else {
input_event(input, EV_KEY, KEY_POWER, value); input_event(input, EV_KEY, KEY_POWER, value);
input_sync(input); input_sync(input);
...@@ -204,15 +204,15 @@ static int mid_pb_probe(struct platform_device *pdev) ...@@ -204,15 +204,15 @@ static int mid_pb_probe(struct platform_device *pdev)
error = devm_request_threaded_irq(&pdev->dev, irq, NULL, mid_pb_isr, error = devm_request_threaded_irq(&pdev->dev, irq, NULL, mid_pb_isr,
IRQF_ONESHOT, DRIVER_NAME, ddata); IRQF_ONESHOT, DRIVER_NAME, ddata);
if (error) { if (error) {
dev_err(&pdev->dev, "Unable to request irq %d for MID power" dev_err(&pdev->dev,
"button\n", irq); "Unable to request irq %d for MID power button\n", irq);
return error; return error;
} }
error = input_register_device(input); error = input_register_device(input);
if (error) { if (error) {
dev_err(&pdev->dev, "Unable to register input dev, error " dev_err(&pdev->dev,
"%d\n", error); "Unable to register input dev, error %d\n", error);
return error; return error;
} }
...@@ -220,8 +220,9 @@ static int mid_pb_probe(struct platform_device *pdev) ...@@ -220,8 +220,9 @@ static int mid_pb_probe(struct platform_device *pdev)
error = ddata->ack(ddata); error = ddata->ack(ddata);
if (error) { if (error) {
dev_err(&pdev->dev, "Unable to clear power button interrupt, " dev_err(&pdev->dev,
"error: %d\n", error); "Unable to clear power button interrupt, error: %d\n",
error);
return error; return error;
} }
......
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