summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-07 03:19:23 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-08 01:41:46 +0400
commitbdbdbf91081250657d018fc66d7cd0c07f337070 (patch)
tree0330dfbce7c2d6d40dc2e5b75de43e7e88d67ae5 /drivers/memstick
parent3fe444ad7e3a6951fa0c9b552c5afe6f6df0d571 (diff)
downloadlinux-bdbdbf91081250657d018fc66d7cd0c07f337070.tar.xz
ACPI: Reduce acpi_bind_one()/acpi_unbind_one() code duplication
Move some duplicated code from acpi_bind_one() and acpi_unbind_one() into a separate function and make that function use snprintf() instead of sprintf() for extra safety. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Toshi Kani <toshi.kani@hp.com> Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions