On Tue, Jun 17, 2025 at 03:46:37PM +0000, Aidan Stewart wrote:
On Tue, 2025-06-17 at 06:44 +0200, Greg KH wrote:
On Mon, Jun 16, 2025 at 10:21:54AM -0600, Aidan Stewart wrote:
+ if (IS_ENABLED(CONFIG_OF)) { + device_set_of_node_from_dev(dev, parent_dev); + }
Did this pass checkpatch.pl?
I ran checkpatch.pl with the --strict option and I didn't get any warnings or errors. Is there a style issue you would like me to fix?
You should not need {} for a one line if statement.
And why is the if statement needed?
I guess it's not really needed. I was trying to avoid the call for non-DT systems, but it should still be safe to do. I will remove it in v2.
Please do!
thanks,
greg k-h