summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorGrigoryev Denis <grigoryev@fastwel.ru>2015-09-25 16:57:09 +0000
committerLee Jones <lee.jones@linaro.org>2015-10-30 17:19:40 +0000
commitea50e9d3c44b3830eb25286fda5d9f83a68141cf (patch)
tree20b0cb28646a076665321cea0aff6e1c67d99202 /drivers/virtio
parentced7e09355cd7f4434eb2c34c4fae450c2fee0e7 (diff)
downloadlinux-ea50e9d3c44b3830eb25286fda5d9f83a68141cf.tar.bz2
mfd: tps6105x: Fix possible NULL pointer access
tps6105 driver provides two cells. One is for GPIO and another one is for selected mode depending on platform data. When tps6105x is used in GPIO-only mode, this driver calls mfd_add_devices() with mfd_cell .name == NULL. This value causes an oops in platform_device_register() later. The following patch adds a mfd_cell for each possible mode thereby excluding .name assignment in runtime. Signed-off-by: Denis Grigoryev <grigoryev@fastwel.ru> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions