[PATCH 02/14] device-dax: utilize new device_add_cdev helper function

Dan Williams dan.j.williams at intel.com
Tue Feb 21 11:26:33 PST 2017


On Tue, Feb 21, 2017 at 3:37 AM, Alexandre Belloni
<alexandre.belloni at free-electrons.com> wrote:
> Hi,
>
> A small comment, you must always have a commit message. Even if it is
> small.

Yes, something like: "Replace the open coded initialization of the
cdev with the new device_add_cdev() helper. The helper takes the
proper reference against the parent device while the cdev object is
alive."

With that you can also add:

Acked-by: Dan Williams <dan.j.williams at intel.com>



More information about the linux-mtd mailing list