diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2018-05-02 09:28:32 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-05-15 14:54:52 -0700 |
commit | 1ace0dfd754feef171e9209c8266efb198f5c19c (patch) | |
tree | abff2fc034e49b3f167d8e8c4d8456c32562b91a /drivers/gpio/gpio-adp5520.c | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-1ace0dfd754feef171e9209c8266efb198f5c19c.tar.bz2 |
clk: socfpga: stratix10: use platform driver APIs
Use platform driver APIs to map memory so that it will automatically free
the memory in case of errors.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
[sboyd@kernel.org: Return -ENOMEM error pointers, check for error
pointer at call site]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-adp5520.c')
0 files changed, 0 insertions, 0 deletions