Re: [PATCH v3 0/5] rust: miscdevice: Provide sample driver using the new MiscDevice bindings

Greg KH
2024-12-06T07:20:01Z

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