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.
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.