diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-06 17:12:09 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-06 22:24:42 +0100 |
commit | dab5a4406799633a319381b0127e1fda82b15c02 (patch) | |
tree | 7d100dfd99914c1195ccada0f62387d4fced8563 /target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch | |
parent | 6b01f0f196c0c1ff43c362e9aef4433eacbbb8c6 (diff) | |
download | upstream-dab5a4406799633a319381b0127e1fda82b15c02.tar.gz upstream-dab5a4406799633a319381b0127e1fda82b15c02.tar.bz2 upstream-dab5a4406799633a319381b0127e1fda82b15c02.zip |
brcm2708: update linux 4.4 patches to latest version
n
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch b/target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch new file mode 100644 index 0000000000..c2f7c8977a --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0584-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch @@ -0,0 +1,22 @@ +From abf88336cae2463bb38104a75e2fea7b5c2aa1f7 Mon Sep 17 00:00:00 2001 +From: JamesH65 <JamesH65@users.noreply.github.com> +Date: Mon, 6 Feb 2017 15:24:47 +0000 +Subject: [PATCH] gpio_mem: Remove unnecessary dev_info output (#1830) + +The open function was spamming syslog every time +called, so have removed call completely. +--- + drivers/char/broadcom/bcm2835-gpiomem.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/drivers/char/broadcom/bcm2835-gpiomem.c ++++ b/drivers/char/broadcom/bcm2835-gpiomem.c +@@ -76,8 +76,6 @@ static int bcm2835_gpiomem_open(struct i + int dev = iminor(inode); + int ret = 0; + +- dev_info(inst->dev, "gpiomem device opened."); +- + if (dev != DEVICE_MINOR) { + dev_err(inst->dev, "Unknown minor device: %d", dev); + ret = -ENXIO; |