03 Apr, 2015
1 commit
-
This driver has a number of y2038/y2106 issues.
This patch resolves them by:
- Replacing rtc_tm_to_time() with rtc_tm_to_time64()
- Replacing rtc_time_to_tm() with rtc_time64_to_tm()
- Changing ab3100_rtc_set_mmss() to use rtc_class_ops's set_mmss64()After this patch, the driver should not have any remaining
y2038/y2106 issues.Signed-off-by: Xunlei Pang
Signed-off-by: John Stultz
Acked-by: Alessandro Zummo
Acked-by: Linus Walleij
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Link: http://lkml.kernel.org/r/1427945681-29972-10-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
04 Jul, 2013
2 commits
-
After the switch to devm_ functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.Signed-off-by: Sachin Kamat
Acked-by: Linus Walleij
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The driver core clears the driver data to NULL after device_release or
on probe failure, since commit 0998d063100 ("device-core: Ensure drvdata
= NULL when no driver is bound"). Thus, it is not needed to manually
clear the device driver data to NULL.Signed-off-by: Jingoo Han
Cc: Lars-Peter Clausen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Apr, 2013
2 commits
-
devm_rtc_device_register() is device managed and makes cleanup paths
simpler.Signed-off-by: Jingoo Han
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use module_platform_driver_probe() macro which makes the code smaller and
simpler.Signed-off-by: Jingoo Han
Acked-by: Linus Walleij
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
23 Sep, 2010
1 commit
-
Otherwise, calling platform_get_drvdata() in ab3100_rtc_remove() returns
NULL.Signed-off-by: Axel Lin
Acked-by:Wan ZongShun
Acked-by: Linus Walleij
Cc: Alessandro Zummo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 May, 2010
2 commits
-
The interface for the AB3100 is changed to make way for the
ABX500 family of chips: AB3550, AB5500 and future ST-Ericsson
Analog Baseband chips. The register access functions are moved
out to a separate struct abx500_ops. In this way the interface
is moved from the implementation and the sub functionality drivers
can keep their interface intact when chip infrastructure and
communication mechanisms changes. We also define the AB3550
device IDs and the AB3550 platform data struct and convert
the catenated 32bit event to an array of 3 x 8bits.Signed-off-by: Mattias Wallin
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
The goal here is to make way for a more general interface for the
analog baseband chips ab3100 ab3550 ab550 and future chips.This patch have been divided into two parts since both changing name
and content of a file is not recommended in git.Signed-off-by: Mattias Wallin
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
17 Sep, 2009
1 commit
-
This adds support for the RTC found inside the AB3100 Mixed Signal chip.
The symbols used for communicating with the chip is found in the
mfd/ab3100-core.c driver that also provides the platform device.Signed-off-by: Linus Walleij
Acked-by: Alessandro Zummo
Signed-off-by: Samuel Ortiz