commit | 6856909ce542ddea39f9dfc8429b26b3bb0a9e8b | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 05 15:42:36 2018 +0200 |
committer | Peter Rosin <peda@axentia.se> | Mon Jul 30 10:13:30 2018 +0200 |
tree | fdf5b15932b400de8fc7aaaff5fcc9568aafd289 | |
parent | d72e90f33aa4709ebecc5005562f52335e106a60 [diff] |
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: Linus Walleij <linus.walleij@linaro.org> [peda: slightly edited commit message and removed some surplus newlines] Signed-off-by: Peter Rosin <peda@axentia.se>