From: Markus Pargmann Date: Thu, 20 Aug 2015 09:12:35 +0000 (+0200) Subject: regmap: regmap_raw_read return error on !bus->read X-Git-Tag: omap-for-v4.3/fixes-rc1~58^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a16ea900fadc88714e3a32214dea8e968ccd889;p=pandora-kernel.git regmap: regmap_raw_read return error on !bus->read Return -ENOTSUPP if map->bus->read is not implemented and we do not use the cache. This code path would directly use bus->read would run into an NULL pointer for the read function. Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed