[PATCH v5 08/15] clockevents/drivers: Add STM32 Timer driver

Andy Shevchenko andy.shevchenko at gmail.com
Fri Apr 3 15:14:04 PDT 2015


On Sat, Apr 4, 2015 at 1:09 AM, Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Fri, Apr 3, 2015 at 8:01 PM, Maxime Coquelin
> <mcoquelin.stm32 at gmail.com> wrote:
>> STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers.
>> The drivers detects whether the time is 16 or 32 bits, and applies a
>> 1024 prescaler value if it is 16 bits.

[]

>> +               pr_err("failed to get clock for clockevent (%d)\n", ret);
>
> Why not dev_err(); ?

Understood, because it's device tree with lack of something like of_err();

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list