gpiolib: Join string literals back
For easy grepping on debug purposes join string literals back in the messages. While here, fix couple of small indentation issues. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
2b6c83cad1
commit
b1911710e6
@@ -1664,8 +1664,7 @@ static void gpiochip_set_cascaded_irqchip(struct gpio_chip *gpiochip,
|
|||||||
if (parent_handler) {
|
if (parent_handler) {
|
||||||
if (gpiochip->can_sleep) {
|
if (gpiochip->can_sleep) {
|
||||||
chip_err(gpiochip,
|
chip_err(gpiochip,
|
||||||
"you cannot have chained interrupts on a "
|
"you cannot have chained interrupts on a chip that may sleep\n");
|
||||||
"chip that may sleep\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -1850,8 +1849,7 @@ static int gpiochip_add_irqchip(struct gpio_chip *gpiochip,
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (gpiochip->irq.parent_handler && gpiochip->can_sleep) {
|
if (gpiochip->irq.parent_handler && gpiochip->can_sleep) {
|
||||||
chip_err(gpiochip, "you cannot have chained interrupts on a "
|
chip_err(gpiochip, "you cannot have chained interrupts on a chip that may sleep\n");
|
||||||
"chip that may sleep\n");
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user