[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <136972ae-2bc7-9621-dfe5-75f29f6c02d4@lechnology.com>
Date: Thu, 15 Sep 2016 10:35:45 -0500
From: David Lechner <david@...hnology.com>
To: Jacek Anaszewski <j.anaszewski@...sung.com>,
Pavel Machek <pavel@....cz>
Cc: Richard Purdie <rpurdie@...ys.net>, linux-kernel@...r.kernel.org,
linux-leds@...r.kernel.org, Marcel Holtmann <marcel@...tmann.org>
Subject: Re: [PATCH v3] leds: Introduce userspace leds driver
On 09/15/2016 10:31 AM, David Lechner wrote:
>
> How do I use devm_* when there is no parent device?
>
>
Answering my own question. I seen now that struct miscdevice has struct
device that should be used as the parent.
Powered by blists - more mailing lists