mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
To: balbi@ti.com, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	joe@perches.com, auttamchandani@logicube.com,
	stern@rowland.harvard.edu
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Subject: [PATCH 04/10] usb: gadget: net2280: Use true/false instead of 1/0
Date: Tue, 20 May 2014 18:30:06 +0200	[thread overview]
Message-ID: <1400603412-19406-5-git-send-email-ricardo.ribalda@gmail.com> (raw)
In-Reply-To: <1400603412-19406-1-git-send-email-ricardo.ribalda@gmail.com>

For bool variables

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 drivers/usb/gadget/net2280.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c
index 5b9368d..b43725a 100644
--- a/drivers/usb/gadget/net2280.c
+++ b/drivers/usb/gadget/net2280.c
@@ -95,9 +95,9 @@ static const char *const ep_name [] = {
  * Some gadget drivers work better with the dma support here than others.
  * These two parameters let you use PIO or more aggressive DMA.
  */
-static bool use_dma = 1;
-static bool use_dma_chaining = 0;
-static bool use_msi = 1;
+static bool use_dma = true;
+static bool use_dma_chaining;
+static bool use_msi = true;
 
 /* "modprobe net2280 use_dma=n" etc */
 module_param (use_dma, bool, S_IRUGO);
@@ -118,7 +118,7 @@ module_param (fifo_mode, ushort, 0644);
  * USB suspend requests will be ignored.  This is acceptable for
  * self-powered devices
  */
-static bool enable_suspend = 0;
+static bool enable_suspend;
 
 /* "modprobe net2280 enable_suspend=1" etc */
 module_param (enable_suspend, bool, S_IRUGO);
-- 
2.0.0.rc2


  parent reply	other threads:[~2014-05-20 16:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20 16:30 [PATCH 00/10] net2280: Support for PLX USB338x and cleanout code Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 01/10 v5.1] usb: gadget: net2280: Add support for PLX USB338X Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 02/10] usb: gadget: net2280: Dont use magic numbers Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 03/10] usb: gadget: net2280: Use BIT() macro Ricardo Ribalda Delgado
2014-05-20 16:30 ` Ricardo Ribalda Delgado [this message]
2014-05-20 16:30 ` [PATCH 05/10] usb: gadget: net2280: Use module_pci_driver macro Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 06/10] usb: gadget: net2280: Refactor queues_show Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 07/10 v3] usb: gadget: net2280: Pass checkpacth.pl test Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 08/10 v2.1] usb: gadget: net2280: Code Cleanup Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 09/10 v2.1] usb: gadget: net2280: Use pr_* function Ricardo Ribalda Delgado
2014-05-20 16:30 ` [PATCH 10/10] usb: gadget: net2280: Use quirks instead of pci id Ricardo Ribalda Delgado
2014-06-10 20:19 ` [PATCH 00/10] net2280: Support for PLX USB338x and cleanout code Ricardo Ribalda Delgado
2014-06-30 19:30   ` Ricardo Ribalda Delgado
2014-06-30 19:38     ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400603412-19406-5-git-send-email-ricardo.ribalda@gmail.com \
    --to=ricardo.ribalda@gmail.com \
    --cc=auttamchandani@logicube.com \
    --cc=balbi@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®