diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-09-09 23:42:06 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-25 02:30:50 +0200 |
commit | 7236214c88454d96de7633e07a8314644d529f26 (patch) | |
tree | 55a5a0bbafadd1c74793205a717d3c043c815e0c /kernel/irq | |
parent | a6f5f0dd4e21191ce35030dd4d6421e1cca10ee4 (diff) | |
download | op-kernel-dev-7236214c88454d96de7633e07a8314644d529f26.zip op-kernel-dev-7236214c88454d96de7633e07a8314644d529f26.tar.gz |
PM / wakeup: wakeup_source_create: use kstrdup_const
Using kstrdup_const allows us to save a little runtime memory (and a
string copy) in the common case where name is a string literal.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions