On Wed, May 29, 2013 at 05:16:17PM +0530, Sachin Kamat wrote: > Date: Wed, 29 May 2013 17:16:17 +0530 > From: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > To: linux-acpi@xxxxxxxxxxxxxxx > Cc: rjw@xxxxxxx, lenb@xxxxxxxxxx, sachin.kamat@xxxxxxxxxx, Huang Ying > <ying.huang@xxxxxxxxx> > Subject: [PATCH 1/1] ACPI: ghes: Remove redundant platform_set_drvdata() > X-Mailer: git-send-email 1.7.9.5 > > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > Your description doesn't give any meaningful explanation. > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > Cc: Huang Ying <ying.huang@xxxxxxxxx> > --- > drivers/acpi/apei/ghes.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c > index d668a8a..e03c20e 100644 > --- a/drivers/acpi/apei/ghes.c > +++ b/drivers/acpi/apei/ghes.c > @@ -1011,8 +1011,6 @@ static int ghes_remove(struct platform_device *ghes_dev) > > kfree(ghes); > > - platform_set_drvdata(ghes_dev, NULL); > - > return 0; > } > > -- > 1.7.9.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: Digital signature