Re: [PATCH v3] leds: Introduce userspace leds driver

From: David Lechner
Date: Thu Sep 15 2016 - 11:35:55 EST


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.