linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card
@ 2016-04-29  5:20 Manav Batra
       [not found] ` <CAEXvAoYvEzkPkqgFXQPg9SvmWfhGvxDWSJRXy0iQAY6EQqs-8A@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Manav Batra @ 2016-04-29  5:20 UTC (permalink / raw)
  To: gregkh, devel, linux-kernel

Signed-off-by: Manav Batra <batmanav10@gmail.com>
---
 drivers/staging/rts5208/sd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c
index 87d6976..fbd2f90 100644
--- a/drivers/staging/rts5208/sd.c
+++ b/drivers/staging/rts5208/sd.c
@@ -56,21 +56,21 @@ static u16 REG_SD_DCMPS1_CTL;
 
 static inline void sd_set_err_code(struct rtsx_chip *chip, u8 err_code)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	sd_card->err_code |= err_code;
 }
 
 static inline void sd_clr_err_code(struct rtsx_chip *chip)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	sd_card->err_code = 0;
 }
 
 static inline int sd_check_err_code(struct rtsx_chip *chip, u8 err_code)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	return sd_card->err_code & err_code;
 }
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card
       [not found] ` <CAEXvAoYvEzkPkqgFXQPg9SvmWfhGvxDWSJRXy0iQAY6EQqs-8A@mail.gmail.com>
@ 2016-04-30  0:47   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2016-04-30  0:47 UTC (permalink / raw)
  To: Manav Batra; +Cc: devel, linux-kernel

On Fri, Apr 29, 2016 at 11:15:27AM +0530, Manav Batra wrote:
> Removes unnecessary parantheses around chip->sd_card
> Signed-off-by: Manav Batra <batmanav10@gmail.com>
> ---
>  drivers/staging/rts5208/sd.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

HTML patches do not work, sorry :(

Also, put a blank line between your changelog text and the signed-off-by
line.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-30  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29  5:20 [PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card Manav Batra
     [not found] ` <CAEXvAoYvEzkPkqgFXQPg9SvmWfhGvxDWSJRXy0iQAY6EQqs-8A@mail.gmail.com>
2016-04-30  0:47   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).