diff options
author | Andrey Smirnov | 2019-04-02 21:01:29 -0700 |
---|---|---|
committer | Mark Brown | 2019-04-05 10:23:50 +0700 |
commit | 5c8283c172c1597eb7c30b25f186de3ec6ee6cb5 (patch) | |
tree | a2b778161a758baecd0606bedf0be4a6c9b8b59f /fs/f2fs | |
parent | 0a919ae49223d32ac0e8be3494547fcd1e4aa0aa (diff) |
spi: gpio: Drop mflags argument from spi_gpio_request()
The logic of setting mflags in spi_gpio_request() is very simple and
there isn't much benefit in having it in that function. Move all of
that code outside into spi_gpio_probe() in order to simplify things.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions