spi: rspi: Use devm_kasprintf()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 6 Aug 2014 12:59:00 +0000 (14:59 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 16 Aug 2014 22:14:09 +0000 (17:14 -0500)
commit43937455c9bf294cffc2f25c4a4d0a1b9bbd88e6
tree304bcb684e8153f5238ced40683c0e7474c441b2
parentd64b472678e17ef9afb251577f4f544793483fa9
spi: rspi: Use devm_kasprintf()

Use the devm_kasprintf() helper function instead of open coding
error-prone buffer handling and string formatting.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c