aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2016-01-27 00:36:43 -0300
committerAlexandre Belloni <[email protected]>2016-02-04 23:42:09 +0100
commit1e5813bded3c6702841549ac2533680f410aea43 (patch)
treee02017700d402810bd00f2c0a2e158498c2ab648 /tools/perf/scripts/python/bin/stackcollapse-record
parentf903129b86070befa996d7bdc53d0b82b1fa09d3 (diff)
rtc: max77686: Fix unsupported year message
The max77686 RTC only supports a range of 99 years so instead of using year 1900 as the base, the year 2000 is used. This means that 1900 to 1999 are unsupported years. The driver was printing a warning for those values but was returning a error so for consistency, print an error message instead and don't say that a year 2000 is assumed, since the year is not set. Also, it is better to use dev_* log functions instead of pr_* to print information about the device in the kernel log in a standardized way. This also allows to remove the local pr_fmt() defined macro. Suggested-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions