diff options
author | Hong Liu <hong.liu@intel.com> | 2018-09-12 01:44:20 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-09-24 11:20:06 +0200 |
commit | 946a7773dcb64afa8164c63c378aa087d69f7d8f (patch) | |
tree | 62ed7c6e8712f4792d88c41f5d793668f273a476 /tools/spi | |
parent | HID: intel_ish-hid: Enhance API to get ring buffer sizes (diff) | |
download | linux-946a7773dcb64afa8164c63c378aa087d69f7d8f.tar.xz linux-946a7773dcb64afa8164c63c378aa087d69f7d8f.zip |
HID: intel-ish-hid: use resource-managed api
Use resource-managed api to simplify error handling in probe and
driver remove logic.
With this patch, we can save ~170 bytes code size in intel-ish-ipc.ko.
before:
text data bss dec hex filename
11495 1568 72 13135 334f intel-ish-ipc.ko
after:
text data bss dec hex filename
11327 1568 72 12967 32a7 intel-ish-ipc.ko
Signed-off-by: Hong Liu <hong.liu@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions