From mboxrd@z Thu Jan 1 00:00:00 1970 From: t.figa@samsung.com (Tomasz Figa) Date: Wed, 16 Jul 2014 14:43:50 +0200 Subject: [PATCH 04/19] serial: samsung: Remove support for legacy clock code In-Reply-To: <1405502840.4408.2.camel@x220> References: <1404496099-26708-1-git-send-email-t.figa@samsung.com> <1404496099-26708-5-git-send-email-t.figa@samsung.com> <1405502840.4408.2.camel@x220> Message-ID: <53C67386.5070401@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 16.07.2014 11:27, Paul Bolle wrote: > On Fri, 2014-07-04 at 19:48 +0200, Tomasz Figa wrote: >> All Samsung platforms are now using the Common Clock Framework and the >> legacy clock code is being removed, so remove related dead code from >> samsung-serial driver as well. >> >> Reported-by: Arnd Bergmann >> Signed-off-by: Tomasz Figa >> Cc: Greg Kroah-Hartman (maintainer:SERIAL DRIVERS) >> Cc: Jiri Slaby (supporter:TTY LAYER) >> Cc: linux-serial at vger.kernel.org (open list:SERIAL DRIVERS) >> --- >> drivers/tty/serial/samsung.c | 4 ---- >> 1 file changed, 4 deletions(-) > > This just entered linux-next (see next-20140716). > >> diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c >> index 36c7747..cae8ebd 100644 >> --- a/drivers/tty/serial/samsung.c >> +++ b/drivers/tty/serial/samsung.c >> @@ -47,10 +47,6 @@ >> >> #include >> >> -#ifdef CONFIG_SAMSUNG_CLOCK >> -#include >> -#endif >> - >> #include "samsung.h" >> >> #if defined(CONFIG_SERIAL_SAMSUNG_DEBUG) && \ > > There are three further references to CONFIG_SAMSUNG_CLOCK in this file. > Those should be removed too, shouldn't they? That's right. Apparently I missed them. I guess that's not critical, though, and could be done in separate patch, right? Best regards, Tomasz