Re: Trivial clocksource driver

From: Thomas Gleixner
Date: Tue Sep 29 2015 - 14:33:07 EST


On Tue, 29 Sep 2015, Mason wrote:
> Hello everyone,
>
> I am trying to submit a new ARM port, and Arnd pointed out that the
> clocksource code could not live in arch/arm/$PLATFORM, but had to
> move to drivers/clocksource (and it had to support DT).
>
> Did I understand correctly? Is this the right place to submit code
> as provided below?


Yes, drivers/clocksource is the right place. You just need to submit a
formal patch, which includes a proper subject line, changelog, plus
the necessary Makefile and Kconfig modifications.

> #include <linux/delay.h> /* register_current_timer_delay */

Please get rid of these silly tail comments. They provide absolutely
no value.

Other than that this looks reasonable.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/