From: Sylwester Nawrocki Date: Wed, 14 Jan 2015 18:42:30 +0000 (+0100) Subject: ASoC: samsung: i2s: Request memory region in driver probe() X-Git-Tag: fixes-v4.0-rc1~146^2~22^2~3^3~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af1cf5cf9c1881192f72af204e873ac345a3e265;p=pandora-kernel.git ASoC: samsung: i2s: Request memory region in driver probe() The memory mapped registers region is common for both DAIs so request it in the I2S platform device driver's probe for the platform device corresponding to the primary DAI, rather than in the ASoC DAI's probe callback. While at it switch to devm_ioremap_resource(). This also drops the hard coded (0x100) register region size in the driver. Signed-off-by: Sylwester Nawrocki Signed-off-by: Mark Brown --- Reading git-diff-tree failed