aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-21 01:16:48 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-03-21 13:11:56 +0000
commit786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186 (patch)
tree926fecb2b1f6ce1e42ba7ef4c7aab8e68dfd214c /target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch
parent9470160c350d15f765c33d6c1db15d6c4709a64c (diff)
downloadupstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.gz
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.bz2
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.zip
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all kernel configuration as well as patches for Linux 5.4. There were no targets still actively using Linux 5.4. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 3a14580411adfb75f9a44eded9f41245b9e44606)
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch')
-rw-r--r--target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch b/target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch
deleted file mode 100644
index be09ab9e7d..0000000000
--- a/target/linux/bcm4908/patches-5.4/070-v5.10-0001-net-dsa-b53-Use-dev_-err-info-instead-of-pr_.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 3b33438c52def0de4a5577ad541e50923bcc2596 Mon Sep 17 00:00:00 2001
-From: Paul Barker <pbarker@konsulko.com>
-Date: Thu, 3 Sep 2020 12:26:20 +0100
-Subject: [PATCH] net: dsa: b53: Use dev_{err,info} instead of pr_*
-
-This change allows us to see which device the err or info messages are
-referring to if we have multiple b53 compatible devices on a board.
-
-As this removes the only pr_*() calls in this file we can drop the
-definition of pr_fmt().
-
-Signed-off-by: Paul Barker <pbarker@konsulko.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
----
- drivers/net/dsa/b53/b53_common.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
---- a/drivers/net/dsa/b53/b53_common.c
-+++ b/drivers/net/dsa/b53/b53_common.c
-@@ -17,8 +17,6 @@
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
--#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--
- #include <linux/delay.h>
- #include <linux/export.h>
- #include <linux/gpio.h>
-@@ -2475,8 +2473,9 @@ int b53_switch_detect(struct b53_device
- dev->chip_id = id32;
- break;
- default:
-- pr_err("unsupported switch detected (BCM53%02x/BCM%x)\n",
-- id8, id32);
-+ dev_err(dev->dev,
-+ "unsupported switch detected (BCM53%02x/BCM%x)\n",
-+ id8, id32);
- return -ENODEV;
- }
- }
-@@ -2506,7 +2505,8 @@ int b53_switch_register(struct b53_devic
- if (ret)
- return ret;
-
-- pr_info("found switch: %s, rev %i\n", dev->name, dev->core_rev);
-+ dev_info(dev->dev, "found switch: %s, rev %i\n",
-+ dev->name, dev->core_rev);
-
- return dsa_register_switch(dev->ds);
- }