diff options
| author | Krzysztof Kozlowski <[email protected]> | 2014-06-10 22:18:47 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-10 22:34:47 +0000 |
| commit | a0347f20aaacc96a203c9609877ecc77093cbe30 (patch) | |
| tree | 0e9c09eb44077612c79c761cff16ca87a455297a /tools/perf/scripts/python/futex-contention.py | |
| parent | rtc: s5m: add support for S2MPS14 RTC (diff) | |
| download | kernel-a0347f20aaacc96a203c9609877ecc77093cbe30.tar.gz kernel-a0347f20aaacc96a203c9609877ecc77093cbe30.zip | |
rtc: s5m: consolidate two device type switch statements
In probe the configuration of driver for different chipsets was done in
two switch (pdata->device_type) statements. Consolidate them into one
switch statement to increase code readability.
Additionally check the return value of regmap_irq_get_virq and exit
probe on error.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Sangbeom Kim <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
