summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMao Li <maol@codeaurora.org>2014-12-15 03:39:50 -0500
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-30 22:15:45 -0700
commiteb86decf8fc599a501e1e71c36928fa8083d9ab8 (patch)
tree42cc23898e94b916d2f7010f03ec04a95ba17af0 /include/linux/fpga/fpga-mgr.h
parent1a0b4f1561faf55daa315ae6473f885808df90f8 (diff)
input: ft5x06_ts: do not free input_dev after unregister it
Once the input device is successfully registered via input_register_device(), it has to be unregistered via input_unregister_device(); input_free_device() should not be called in this case. input_unregister_device() frees the input device, hence the call to input_free_device() is a double free. This is also described in comments of input_unregister_device(). Reorganize the code to avoid a double free. Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2 Signed-off-by: Mao Li <maol@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions