Re: [PATCH v3 0/5] rust: miscdevice: Provide sample driver using the new MiscDevice bindings
From: Greg KH
Date: Fri Dec 06 2024 - 02:20:09 EST
On Thu, Dec 05, 2024 at 04:25:17PM +0000, Lee Jones wrote:
> It has been suggested that the driver should use dev_info() instead of
> pr_info() however there is currently no scaffolding to successfully pull
> a 'struct device' out from driver data post register(). This is being
> worked on and we will convert this over in due course.
But the miscdevice.rs change provides this to you, right? Or if not,
why not?
confused,
greg k-h