diff options
| author | Hong Liu <hong.liu@intel.com> | 2018-09-11 16:44:20 -0700 | 
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2018-09-24 11:20:06 +0200 | 
| commit | 946a7773dcb64afa8164c63c378aa087d69f7d8f (patch) | |
| tree | 62ed7c6e8712f4792d88c41f5d793668f273a476 /lib/mpi/mpi-bit.c | |
| parent | 18c0b5467498ccbedd1646cbeecbd199e5f3f860 (diff) | |
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
