]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PNP / ACPI: avoid garbage in resource name
authorLiu ShuoX <shuox.liu@intel.com>
Tue, 16 Jul 2013 08:23:44 +0000 (16:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 17 Jul 2013 23:38:59 +0000 (01:38 +0200)
commit3c0fc0710185e618a661528eed2183102e25c2f8
treedbe6d7e2df3c9986d6175771d0520d6aacaecd8c
parentd19f503e22316a84c39bc19445e0e4fdd49b3532
PNP / ACPI: avoid garbage in resource name

Set temporary variable as 0 to avoid garbage string output from
/proc/iomem after register resources and reset to PNP dev name
later.

Signed-off-by: Liu ShuoX <shuox.liu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/pnpacpi/rsparser.c
drivers/pnp/resource.c