aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2016-01-27 00:36:40 -0300
committerAlexandre Belloni <[email protected]>2016-02-04 23:42:08 +0100
commit01ea01b35120663a8ec727566e757ea6efdbd2d1 (patch)
treeab5ca0b7a3d8026689aa2fd4b49f20c2d2377f5f /tools/perf/scripts/python/export-to-postgresql.py
parent5981804b83650de558c40769fb06f76fab31724e (diff)
rtc: max77686: Use a driver data struct instead hard-coded values
The driver has some hard-coded values such as the minimum delay needed before a RTC update or the mask used for the sec/min/hour/etc registers. Use a data structure that contains these values and pass as driver data using the platform device ID table for each device. This allows to make the driver's ops callbacks more generic so other RTC that are similar but don't have the same values can also be supported. Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Laxman Dewangan <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Tested-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions