aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorBrad Campbell <bradjc5@gmail.com>2015-03-17 16:25:45 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-03-18 17:50:25 +0100
commit0db055c934672bcbd9423cd5e729f602bec70a6e (patch)
tree78bc65cba11a0cd6c4e8200243685eb794f116bc /include/linux/spi
parentBluetooth: Fix potential NULL dereference in SMP channel setup (diff)
downloadlinux-dev-0db055c934672bcbd9423cd5e729f602bec70a6e.tar.xz
linux-dev-0db055c934672bcbd9423cd5e729f602bec70a6e.zip
cc2520: Do not store platform_data in spi_device
Storing the `platform_data` struct inside of the SPI struct when using the device tree allows for a later function to edit the content of that struct. This patch refactors the `cc2520_get_platformat_data` function to accept a pointer to a `cc2520_platform_data` struct and populates the fields inside of it. This change mirrors commit aaa1c4d226e4cd730075d3dac99a6d599a0190c7 ("at86rf230: copy pdata to driver allocated space"). Signed-off-by: Brad Campbell <bradjc5@gmail.com> Acked-by: Varka Bhadram <varkabhadram@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions