Input: adp5589: Fix possible memory leak of 'kpad'
Quoted 2 lines
If '
adp5589_i2c_get_driver_data()' returns an error, the exit path should be to also free the 'kpad' object.
Wording alternative:
Release the kpad object also after a failed call of the function “adp5589_i2c_get_driver_data”.
Quoted 1 line
This change fixes that.
Please replace this sentence by the tag “Fixes”
(because the exception handling was improved).
Regards,
Markus