Stephen Boyd
faac910201
rtc: Remove dev_err() usage after platform_get_irq()
...
We don't need dev_err() messages when platform_get_irq() fails now that
platform_get_irq() prints an error message itself when something goes
wrong. Let's remove these prints with a simple semantic patch.
// <smpl>
@@
expression ret;
struct platform_device *E;
@@
ret =
(
platform_get_irq(E, ...)
|
platform_get_irq_byname(E, ...)
);
if ( \( ret < 0 \| ret <= 0 \) )
{
(
-if (ret != -EPROBE_DEFER)
-{ ...
-dev_err(...);
-... }
|
...
-dev_err(...);
)
...
}
// </smpl>
While we're here, remove braces on if statements that only have one
statement (manually).
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-rtc@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20190730181557.90391-40-swboyd@chromium.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2019-08-13 10:53:10 +02:00
..
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-07-13 13:53:22 +02:00
2019-08-12 23:01:25 +02:00
2019-04-06 15:05:31 +02:00
2019-08-12 22:56:07 +02:00
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-04-11 16:42:55 +02:00
2019-05-30 11:29:22 -07:00
2019-04-04 10:07:08 +02:00
2019-02-18 22:39:30 +01:00
2019-03-18 03:36:01 +01:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-05-30 11:26:37 -07:00
2019-08-13 10:53:10 +02:00
2019-04-04 10:07:10 +02:00
2019-08-13 10:53:10 +02:00
2019-05-30 11:26:32 -07:00
2019-08-13 10:53:10 +02:00
2018-03-02 10:09:58 +01:00
2019-08-13 10:53:10 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:41 -07:00
2019-01-22 19:18:27 +01:00
2019-05-30 11:26:32 -07:00
2019-04-08 14:40:12 +02:00
2018-09-28 14:20:59 +02:00
2019-05-30 11:26:41 -07:00
2019-03-20 11:36:46 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-09 14:46:33 -07:00
2019-08-13 10:53:10 +02:00
2019-05-08 22:14:31 +02:00
2019-04-04 10:07:09 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:10 +02:00
2019-06-19 17:09:55 +02:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-06 17:46:41 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-04-08 14:35:46 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-23 17:42:25 +02:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-04-19 22:37:16 +02:00
2019-07-17 10:03:50 -07:00
2019-05-30 11:26:37 -07:00
2019-05-21 10:50:45 +02:00
2019-04-04 10:07:09 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-01 23:17:10 +02:00
2019-07-22 22:16:14 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-07-22 22:30:19 +02:00
2019-08-13 10:53:10 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-04-12 12:23:20 +02:00
2019-05-30 11:26:32 -07:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2018-03-17 14:20:46 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2018-11-22 18:11:35 +01:00
2018-08-14 23:38:45 +02:00
2019-08-13 10:53:10 +02:00
2019-04-16 18:06:54 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-02-17 21:28:39 +01:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:17 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:41 -07:00
2019-08-13 10:53:10 +02:00
2019-04-04 10:06:54 +02:00
2019-07-22 22:16:12 +02:00
2019-08-12 23:04:25 +02:00
2019-05-16 09:19:14 -07:00
2019-05-24 17:39:01 +02:00
2019-05-08 22:14:36 +02:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-04-04 10:07:11 +02:00
2019-04-11 16:42:55 +02:00
2019-08-13 10:53:10 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-08-13 10:53:10 +02:00
2019-04-04 10:07:10 +02:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:52 -07:00
2019-08-13 10:53:10 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-09-05 09:55:02 +02:00
2019-02-17 21:29:10 +01:00
2019-06-19 17:09:55 +02:00
2019-06-09 16:48:06 +02:00
2019-06-19 17:09:55 +02:00
2019-04-29 15:53:42 +02:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-08-13 10:53:10 +02:00
2019-06-19 17:09:55 +02:00
2019-07-23 20:34:31 +02:00
2019-07-23 20:34:31 +02:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-08-13 10:53:10 +02:00
2019-01-23 15:42:31 +01:00
2019-05-09 14:46:33 -07:00
2019-05-21 11:28:40 +02:00
2019-05-08 22:14:36 +02:00
2019-08-13 10:53:10 +02:00
2019-07-17 10:03:50 -07:00
2018-03-01 10:49:41 +01:00
2019-06-19 17:09:55 +02:00
2019-08-13 10:53:10 +02:00
2019-04-11 16:42:55 +02:00
2019-04-04 10:07:10 +02:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-05-23 17:44:52 +02:00
2018-05-17 22:54:24 +02:00
2019-07-17 10:03:50 -07:00
2019-05-30 11:26:32 -07:00
2019-04-29 15:53:43 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-08-13 10:53:10 +02:00
2019-04-15 16:07:42 +02:00
2019-07-13 21:39:51 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-08-13 10:53:10 +02:00
2019-08-13 10:53:10 +02:00
2019-04-04 10:07:08 +02:00
2019-05-08 22:14:36 +02:00