.. | .. |
---|
124 | 124 | switch (mtouch->event_type) { |
---|
125 | 125 | case XENKBD_MT_EV_DOWN: |
---|
126 | 126 | input_mt_report_slot_state(info->mtouch, MT_TOOL_FINGER, true); |
---|
127 | | - /* fall through */ |
---|
| 127 | + fallthrough; |
---|
128 | 128 | |
---|
129 | 129 | case XENKBD_MT_EV_MOTION: |
---|
130 | 130 | input_report_abs(info->mtouch, ABS_MT_POSITION_X, |
---|
.. | .. |
---|
146 | 146 | break; |
---|
147 | 147 | |
---|
148 | 148 | case XENKBD_MT_EV_UP: |
---|
149 | | - input_mt_report_slot_state(info->mtouch, MT_TOOL_FINGER, false); |
---|
| 149 | + input_mt_report_slot_inactive(info->mtouch); |
---|
150 | 150 | break; |
---|
151 | 151 | |
---|
152 | 152 | case XENKBD_MT_EV_SYN: |
---|
.. | .. |
---|
524 | 524 | case XenbusStateClosed: |
---|
525 | 525 | if (dev->state == XenbusStateClosed) |
---|
526 | 526 | break; |
---|
527 | | - /* Missed the backend's CLOSING state -- fallthrough */ |
---|
| 527 | + fallthrough; /* Missed the backend's CLOSING state */ |
---|
528 | 528 | case XenbusStateClosing: |
---|
529 | 529 | xenbus_frontend_closed(dev); |
---|
530 | 530 | break; |
---|