summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_stats.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-09-02 10:45:19 (GMT)
committerLee Jones <lee.jones@linaro.org>2014-09-26 07:15:57 (GMT)
commitb24512c860244716fa8ca74faff2ff617c465515 (patch)
tree1cc314590e334b2812ee9d6a869b38a87e8c415c /fs/xfs/xfs_stats.h
parentf69a7cf74d5536faa180437581be2a9c0aad1bb1 (diff)
downloadlinux-b24512c860244716fa8ca74faff2ff617c465515.tar.xz
mfd: lpc_sch: Reduce duplicate code and improve manageability
This patch refactors the driver to use helper functions instead of copy'n'pasted pieces of code. It also introduces an additional struct to hold a chipset info. The chipset info will be used to store features that are supported by specific processor or chipset. LPC_SCH supports SMBUS, GPIO and WDT features. As this code base might expand further to support more processors, this implementation will help to keep code base clean and manageable. The patch is partially based on the work done by Chang Rebecca Swee Fun. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'fs/xfs/xfs_stats.h')
0 files changed, 0 insertions, 0 deletions