Re: [PATCH resend] Adding dummy release functions to avoidwarnings.

From: Andrew Morton
Date: Thu Jun 05 2008 - 12:08:38 EST


On Thu, 5 Jun 2008 12:39:46 +0300 "Vitaliy Ivanov" <vitalivanov@xxxxxxxxx> wrote:

> Hi all,
>
> Natalie reported that patch wasn't accepted.
> Please check this out. If I need to correct it somehow then pls let me know.
>
> V.
>
> ---------- Forwarded message ----------
> From: Vitaliy Ivanov <vitalivanov@xxxxxxxxx>
> Date: Wed, Apr 16, 2008 at 3:34 AM
> Subject: [PATCH] Adding dummy release functions to avoid warnings.
> To: linux-kernel@xxxxxxxxxxxxxxx, devzero@xxxxxx, jsun@xxxxxxxxxx,
> dwmw2@xxxxxxxxxxxxx
>
>
>
> Subject: [PATCH] Adding dummy release functions to avoid warnings.
>
> From: Vitaliy Ivanov <vitalivanov@xxxxxxxxx>
>
> Trivial fix for #9690.
> Added simple release functions that doing nothing.
> Not sure whether we can leave it as is or to rework using
> platform_device helpers like platform_device_alloc.

Please see Documentation/kobject.txt - search for the text
"mocked mercilessly" :)

> This approach is used in many drivers.
> --
>
> drivers/mtd/maps/physmap.c | 6 ++++++

Let's mock David too!

> drivers/video/hgafb.c | 10 +++++++++-

I expect that
hgafb-convert-to-new-platform-driver-api-bugzilla-9689.patch which I
merged yesterday will help here.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/