[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130617231502.GA12984@kroah.com>
Date: Mon, 17 Jun 2013 16:15:02 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Alessandro Rubini <rubini@...dd.com>
Cc: linux-kernel@...r.kernel.org,
Juan David Gonzalez Cobas <juan.david.gonzalez.cobas@...n.ch>,
"Emilio G. Cota" <cota@...ap.org>,
Samuel Iglesias Gonsalvez <siglesias@...lia.com>,
Rob Landley <rob@...dley.net>, linux-doc@...r.kernel.org
Subject: Re: [PATCH 3/8] FMC: add core bus driver
On Wed, Jun 12, 2013 at 09:13:47AM +0200, Alessandro Rubini wrote:
> +static void fmc_release(struct device *dev)
> +{
> + struct fmc_device *fmc = container_of(dev, struct fmc_device, dev);
> +
> + kfree(fmc);
> +}
I read so many people who write new bus / device code that get this
wrong, that I'm so overjoyed when it is written correctly, that I'm
almost willing to just blindly accept this whole patchset.
Almost :)
Seriously, very nice job on the whole driver model integration for this
code.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists