summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorColin Ian King2018-12-06 18:05:57 +0100
committerRafael J. Wysocki2018-12-11 12:18:15 +0100
commitd84f18d6673f6d93bddfce1aea6cfdd78b822d3e (patch)
tree5a3de28afb7b25be7056a8cb0fe1f4187b92ca39 /Documentation/ABI
parentdevice property: Remove struct property_set (diff)
downloadkernel-qcow2-linux-d84f18d6673f6d93bddfce1aea6cfdd78b822d3e.tar.gz
kernel-qcow2-linux-d84f18d6673f6d93bddfce1aea6cfdd78b822d3e.tar.xz
kernel-qcow2-linux-d84f18d6673f6d93bddfce1aea6cfdd78b822d3e.zip
drivers: base: swnode: remove need for a temporary string for the node name
Currently the node name is being formatting into a temporary string node_name, however, kobject_init_and_add allows one to format up a node name, so use that instead. This removes the need for the node_name string and also cleans up the following warning: Fixes clang warning: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions