diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-30 15:02:38 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-07 15:12:46 -0600 |
commit | c489f5fbb1f5a770f98e492af5c47befb32890cd (patch) | |
tree | 171e6ae2cc4de91c7aaa04eaaed98aca23e404ee /Documentation/hid | |
parent | 135530d584bafa88bcb924552fb13bcab07ca1a5 (diff) | |
download | blackbird-obmc-linux-c489f5fbb1f5a770f98e492af5c47befb32890cd.tar.gz blackbird-obmc-linux-c489f5fbb1f5a770f98e492af5c47befb32890cd.zip |
PCI: Add pci_dev_show_local_cpu() to simplify code
local_cpus_show() and local_cpulist_show() are almost the same.
This adds a new helper function, pci_dev_show_local_cpu(), to simplify
code.
The same strategy is already used by cpuaffinity_show() and
cpulistaffinity_show().
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions