]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: imx: improve code readability
authorGao Pan <b54642@freescale.com>
Mon, 2 Nov 2015 09:05:30 +0000 (17:05 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 3 Jan 2016 18:17:29 +0000 (19:17 +0100)
commite8e712916ceade419ab52900917ed568c7b3ec26
tree3391fbf9290a43385711d0e557542398ad4f225c
parent5b6615398906150dea92fe67a1613a0151ddd0ba
i2c: imx: improve code readability

Replace of_get_named_gpio_flags with of_get_named_gpio because
the latter has less parameters, which improves code readability.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Gao Pan <b54642@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c