commit | 6d974d32919501ebac1576fda0ce042f0a58dd8f | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Mon Nov 27 11:48:43 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Dec 02 22:42:26 2017 +0100 |
tree | 2dd2e8e0bd93d06e0fddafd1b1ac79666c5d7919 | |
parent | b9576d03d52eb16dce5f6b4b3800e504cafe87e5 [diff] |
gpio: mockup: merge gpio_mockup_add() into gpio_mockup_probe() Now that the probe() function only does what is should, there's no need to split the chip adding logic into a separate routine. Merge gpio_mockup_add() into gpio_mockup_probe(). Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>