summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/binding.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-09-09 23:59:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-15 02:59:07 +0200
commit6a0d12ef993c5291047d72e88d73d0aa2b967335 (patch)
tree5d75224e9b237a022f9d6131080c1f257909743a /drivers/net/wireless/iwlwifi/mvm/binding.c
parent844142c3f80c66fb2c311b118d60abdfe02322cb (diff)
downloadblackbird-op-linux-6a0d12ef993c5291047d72e88d73d0aa2b967335.tar.gz
blackbird-op-linux-6a0d12ef993c5291047d72e88d73d0aa2b967335.zip
ACPI / scan: use kstrdup_const() in acpi_add_id()
Empirically, acpi_add_id is mostly called with string literals, so using kstrdup_const for initializing struct acpi_hardware_id::id saves a little run-time memory and a string copy. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/binding.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud