Skip to content

Commit

Permalink
usb: xhci-mtk: fix semicolon.cocci warnings
Browse files Browse the repository at this point in the history
drivers/usb/host/xhci-mtk.c:311:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: a2ecc4d ("usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Fengguang Wu authored and Greg Kroah-Hartman committed Jan 16, 2018
1 parent b90c6d1 commit dae0620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-mtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(struct xhci_hcd_mtk *mtk, bool enable)
break;
default:
return;
};
}
regmap_update_bits(mtk->uwk, reg, msk, val);
}

Expand Down

0 comments on commit dae0620

Please sign in to comment.