summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/hid-sensor-gyro-3d.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-12-02 12:11:18 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-04 12:50:16 +0400
commit46ac29568e63c9da9c15804648d3ed8c25e2dc44 (patch)
tree01ec9c3f2f2d174ade7d3986bd21d3f2191e5928 /drivers/iio/gyro/hid-sensor-gyro-3d.c
parent5a0973f33b4e6a10227b3d285ff2b0777730d298 (diff)
downloadlinux-46ac29568e63c9da9c15804648d3ed8c25e2dc44.tar.xz
video: vt8500: fix error handling in probe()
We shouldn't kfree(fbi) because that was allocated with devm_kzalloc(). There were several error paths which returned directly instead of releasing resources. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/iio/gyro/hid-sensor-gyro-3d.c')
0 files changed, 0 insertions, 0 deletions