diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-02 00:34:44 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-10 03:31:48 +0400 |
commit | 0e278b3408999d5bdce50bd0d7f97608483eebea (patch) | |
tree | 0c95116135239abc5a26092f74e10ed0c7c0cd2d /drivers/usb/misc | |
parent | 96ae571338a4b2ecd2e42a6881bb0daa1a4e7d4f (diff) | |
download | linux-0e278b3408999d5bdce50bd0d7f97608483eebea.tar.xz |
fotg210: Use managed interfaces for allocation of resources
This patch intoduces the use of devm_ioremap_resource instead of
request_mem_region and ioremap_nocache and removes the calls to free the
allocated memory. Some labels are removes and a new label failed
introduced to make it less specific to the context. The call to a
platform get resource with IORESOURCE_IO is removed as it allocates
memory that is not needed.
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions