diff options
author | Serge Semin <fancer.lancer@gmail.com> | 2017-01-26 16:00:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-27 11:13:57 +0300 |
commit | aed74b140e10725caf8a982ea26610d1dd1f612c (patch) | |
tree | 279d9d15aee7d5ae1d666e0f54ef2a0a946a431c /drivers/misc/tsl2550.c | |
parent | 061132d2b9c9504a9f314dcd73f6483a7d8cd1e8 (diff) | |
download | linux-aed74b140e10725caf8a982ea26610d1dd1f612c.tar.xz |
eeprom: idt_89hpesx: Discard memory freeing allocated by devm_kmalloc
Indeed, the data structure is allocated by device resource manager,
so the driver doesn't need to free anything on remove() callback.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/tsl2550.c')
0 files changed, 0 insertions, 0 deletions