Commit fe4ff117 authored by Jason Yan's avatar Jason Yan Committed by Felipe Balbi

usb: gadget: net2272: use false for 'use_dma'

Fix the following coccicheck warning:

drivers/usb/gadget/udc/net2272.c:57:12-19: WARNING: Assignment of 0/1 to
bool variable
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent c685114f
......@@ -54,7 +54,7 @@ static const char * const ep_name[] = {
*
* If use_dma is disabled, pio will be used instead.
*/
static bool use_dma = 0;
static bool use_dma = false;
module_param(use_dma, bool, 0644);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment