spi: spi-fsl-dspi: constify devtype_data
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Tue, 16 Aug 2016 09:50:20 +0000 (11:50 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 16 Aug 2016 11:26:59 +0000 (12:26 +0100)
commit94b968b5a3e282edbdf21735edbeb93a5a1fa119
tree8dd141a56bb02370363ba2c9328aa19ed92ae04f
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
spi: spi-fsl-dspi: constify devtype_data

of_id->data is const, so instead of casting the pointer to drop its
const status, this patch constify the devtype_data pointer.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c