Skip to content
Commit 6856909c authored by Linus Walleij's avatar Linus Walleij Committed by Peter Rosin
Browse files

i2c: mux: pca954x: use helper variable in probe



This creates a struct device *dev helper variable in probe()
which IMO makes the code less cluttered and easier to read.
Also rename the of_node veriable to the common shortform "np"
(node pointer).

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
[peda: slightly edited commit message and removed some surplus newlines]
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
parent d72e90f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment