diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-21 10:26:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-21 09:33:43 -0700 |
commit | 9c9f7f675970ba1b888272f016157de21f69e7e2 (patch) | |
tree | 6ce5c3d958d77b93efd944c4b251734068c0ecf8 /drivers/base/attribute_container.c | |
parent | 67921a1a6660d32cc2770d05d656a1187b6d94d5 (diff) | |
download | talos-obmc-linux-9c9f7f675970ba1b888272f016157de21f69e7e2.tar.gz talos-obmc-linux-9c9f7f675970ba1b888272f016157de21f69e7e2.zip |
regmap: No multi_write support if bus->write does not exist
There is no multi_write support available if we cannot use raw_write.
This is the case if bus->write is not implemented.
This patch adds a condition that we need bus and bus->write so that
can_multi_write is true.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/attribute_container.c')
0 files changed, 0 insertions, 0 deletions