]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: clean up parse_pmtmr()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 20 Oct 2012 04:46:02 +0000 (07:46 +0300)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 13 Nov 2012 19:04:50 +0000 (14:04 -0500)
commit92d25b52c63004f23cc2ef1e4fc5b28fedc8a451
treeb93870f564ac75a7b820abdeae540f18a3e78161
parent7fe8b5f83ca6046d944ac0d654343d18a0d98357
clocksource: clean up parse_pmtmr()

I changed the strict_strtoul() to kstrtouint().  That has the check
for UINT_MAX built in to it so the ifdefs can be removed.  Also
I changed a printk() to pr_info().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/clocksource/acpi_pm.c