From: Frank Rowand Date: Fri, 5 Oct 2018 03:30:40 +0000 (-0700) Subject: of: overlay: reorder fields in struct fragment X-Git-Tag: v5.15~7305^2~29^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81225ea682f45629a66309636482b7c9bc2dcec1;p=platform%2Fkernel%2Flinux-starfive.git of: overlay: reorder fields in struct fragment Order the fields of struct fragment in the same order as struct of_overlay_notify_data. The order in struct fragment is not significant. If both structs are ordered the same then when examining the data in a debugger or dump the human involved does not have to remember which context they are examining. Tested-by: Alan Tull Signed-off-by: Frank Rowand --- diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 9808aae..15be3da 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -49,8 +49,8 @@ struct target { * @overlay: pointer to the __overlay__ node */ struct fragment { - struct device_node *target; struct device_node *overlay; + struct device_node *target; }; /**