[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171003162920.GA11186@kroah.com>
Date: Tue, 3 Oct 2017 18:29:20 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: sunil.m@...hveda.org
Cc: gilad@...yossef.com, linux-crypto@...r.kernel.org,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, karthik@...hveda.org
Subject: Re: [PATCH v2] staging: ccree: Convert to
platform_{get,set}_drvdata()
On Thu, Sep 21, 2017 at 05:47:42PM +0530, sunil.m@...hveda.org wrote:
> From: Suniel Mahesh <sunil.m@...hveda.org>
>
> Platform devices are expected to use wrapper functions,
> platform_{get,set}_drvdata() with platform_device as argument,
> for getting and setting the driver data. dev_{get,set}_drvdata()
> are using &plat_dev->dev.
> For wrapper functions we can directly pass a struct platform_device.
>
> dev_set_drvdata() is redundant and therefore removed. The driver core
> clears the driver data to NULL after device_release or on probe failure.
>
> Signed-off-by: Suniel Mahesh <sunil.m@...hveda.org>
> ---
> Changes for v2:
> - Rebased on top of staging-testing.
Can you rebase again, this still does not apply :(
Powered by blists - more mailing lists