diff options
author | Jarkko Nikula <[email protected]> | 2015-10-22 16:44:41 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-10-23 08:56:05 +0900 |
commit | 3b8b6d05942ef5dd952674e7420600f762166e22 (patch) | |
tree | d3a587aa5f23a17ab5a22a60da2eb97c5def32f7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d2c2f6a47633a36bc8db8c802f7c284da36a7a53 (diff) |
spi: pxa2xx: Convert unique ID string of ACPI device as unsigned integer
Andy noticed numeric unique device ID is unsigned integer so convert it
using kstrtouint(). Actually integer in ACPI 2.0 and later is 64 bits
litte-endian unsigned integer but quite certainly having so big value here
would mean something extra than just the SPI bus number so it won't hurt to
assume only lower 32 bits carry the bus number for now.
Signed-off-by: Jarkko Nikula <[email protected]>
Cc: Mika Westerberg <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions