Greg Kroah-Hartman
f187a7fdfc
tty: serial: samsung_tty: drop unneded dbg() calls
...
Now that the kernel has ftrace, any debugging calls that just do "made
it to this function!" and "leaving this function!" can be removed.
On the quest to move the samsung_tty driver over to use the standard
kernel debugging functions, drop these unneeded calls.
Cc: Kukjin Kim <kgene@kernel.org >
Cc: Hyunki Koo <kkoos00@naver.com >
Cc: HYUN-KI KOO <hyunki00.koo@samsung.com >
Cc: Shinbeom Choi <sbeom.choi@samsung.com >
Cc: Jiri Slaby <jslaby@suse.com >
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org >
Link: https://lore.kernel.org/r/20191210143706.3928480-6-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-12-12 12:11:15 +01:00
Greg Kroah-Hartman
43df170be7
tty: serial: samsung_tty: delete samsung.h
...
There is no need for a .h file for a single .c file, so just move all of
the content of samsung.h into samsung_tty.c
Cc: Kukjin Kim <kgene@kernel.org >
Cc: Hyunki Koo <kkoos00@naver.com >
Cc: HYUN-KI KOO <hyunki00.koo@samsung.com >
Cc: Shinbeom Choi <sbeom.choi@samsung.com >
Cc: Jiri Slaby <jslaby@suse.com >
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org >
Link: https://lore.kernel.org/r/20191210143706.3928480-5-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-12-12 12:11:13 +01:00
Greg Kroah-Hartman
06674e54cc
tty: serial: samsung_tty: fix build warning
...
Fix a build warning on systems that do not have CONFIG_OF enabled.
Cc: Kukjin Kim <kgene@kernel.org >
Cc: Hyunki Koo <kkoos00@naver.com >
Cc: HYUN-KI KOO <hyunki00.koo@samsung.com >
Cc: Shinbeom Choi <sbeom.choi@samsung.com >
Cc: Jiri Slaby <jslaby@suse.com >
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org >
Link: https://lore.kernel.org/r/20191210143706.3928480-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-12-12 12:11:04 +01:00
Chen Wandun
98aee0c944
tty: serial: samsung: remove variable 'ufstat' set but not used
...
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/tty/serial/samsung_tty.c: In function s3c24xx_serial_rx_chars_dma:
drivers/tty/serial/samsung_tty.c:549:24: warning: variable ufstat set but not used [-Wunused-but-set-variable]
Signed-off-by: Chen Wandun <chenwandun@huawei.com >
Link: https://lore.kernel.org/r/1574424258-138975-1-git-send-email-chenwandun@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-12-12 12:03:59 +01:00
Sudip Mukherjee
55ed51fff2
{tty: serial, nand: onenand}: samsung: rename to fix build warning
...
Any arm config which has 'CONFIG_MTD_ONENAND_SAMSUNG=m' and
'CONFIG_SERIAL_SAMSUNG=m' gives a build warning:
warning: same module names found:
drivers/tty/serial/samsung.ko
drivers/mtd/nand/onenand/samsung.ko
Rename both drivers/tty/serial/samsung.c to
drivers/tty/serial/samsung_tty.c and drivers/mtd/nand/onenand/samsung.c
drivers/mtd/nand/onenand/samsung_mtd.c to fix the warning.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com >
Acked-by: Richard Weinberger <richard@nod.at >
Link: https://lore.kernel.org/r/20191117202435.28127-1-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-11-18 18:49:11 +01:00