aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/sys-hypervisor.c
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2012-06-28 09:08:19 -0400
committerHenrik Rydberg <rydberg@euromail.se>2012-06-29 09:58:05 -0400
commit7d4fa100b0cc069b2d788e1d9fe086e9e057958e (patch)
treeef179557da61ec6f2155823bf3e268105e133427 /drivers/xen/sys-hypervisor.c
parentb2e459b81b33ca17052de03b1315d8511d769507 (diff)
Input: atmel_mxt_ts - refactor when and how object table is freed
The Object Table is freed in three cases: 1) When the driver is being removed. 2) In the error path of mxt_initialize(). 3) Just after a firmware update, when a new object table is about to be read. For cases 2 & 3, the driver is not immediately unloaded, so this patch refactors these cases to use a common cleanup function. It also refactors the mxt_initialize error paths to ensure that this cleanup happens. Note: mxt_update_fw_store() does not handle errors during mxt_initialize(). A proposed fix for this is in a subsequent patchset. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/xen/sys-hypervisor.c')
0 files changed, 0 insertions, 0 deletions