summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/x1205.c
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2016-04-16 17:55:11 +0300
committerTom Rini <trini@konsulko.com>2016-05-20 17:02:09 -0400
commitc40f03723fba2f77bccd92dd87fcd48c37d13cdc (patch)
tree819007ffd5a820911bb96df0d18b7d53e326be8b /drivers/rtc/x1205.c
parent2d9a76b614c33e660b5556b5f96bd5ee4810953e (diff)
downloadblackbird-obmc-uboot-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.tar.gz
blackbird-obmc-uboot-c40f03723fba2f77bccd92dd87fcd48c37d13cdc.zip
eeprom: refactor i2c bus and devaddr parsing
Introduce parse_i2c_bus_addr() to generalize the parsing of i2c bus number and i2c device address. This is done in preparation for merging layout aware and layout unaware command parsing into one function. No functional changes. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'drivers/rtc/x1205.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud