diff options
author | Jiri Kosina <jkosina@suse.cz> | 2017-09-05 12:07:05 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-09-05 12:07:05 +0300 |
commit | b11918bdbe79bd002d00a9f1d78958167ccfad99 (patch) | |
tree | 931c5680a242041f49b07b20823012ae9bdb98c2 /drivers/usb/serial/safe_serial.c | |
parent | d3c7ad2432115b0b53fb838c14b8ad9ad72f7254 (diff) | |
parent | 0152b29c89650654abf4f0e96bbf2566b85ae55d (diff) | |
download | linux-b11918bdbe79bd002d00a9f1d78958167ccfad99.tar.xz |
Merge branch 'for-4.14/battery' into for-linus
- support for batteries driven by HID input reports, from Dmitry Torokhov
Diffstat (limited to 'drivers/usb/serial/safe_serial.c')
-rw-r--r-- | drivers/usb/serial/safe_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c index 8a069aa154ed..27d7a7016298 100644 --- a/drivers/usb/serial/safe_serial.c +++ b/drivers/usb/serial/safe_serial.c @@ -180,7 +180,7 @@ static const __u16 crc10_table[256] = { * Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return * new 10 bit FCS. */ -static __u16 __inline__ fcs_compute10(unsigned char *sp, int len, __u16 fcs) +static inline __u16 fcs_compute10(unsigned char *sp, int len, __u16 fcs) { for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++)); return fcs; |