sysfs: added __compat_only_sysfs_link_entry_to_kobj()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 22 Apr 2015 16:36:06 +0000 (19:36 +0300)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:01:19 +0000 (01:01 +0200)
commit37c1c04cca920de8a68285751b2c7b3d937ad50c
tree3765e559cc8cce4341f9e26400c23d0f1b1ee487
parent399235dc6e95400a1322a9999e92073bc572f0c8
sysfs: added __compat_only_sysfs_link_entry_to_kobj()

Added a new function __compat_only_sysfs_link_group_to_kobj() that adds
a symlink from attribute or group to a kobject. This needed for
maintaining backwards compatibility with PPI attributes in the TPM
driver.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
fs/sysfs/group.c
include/linux/sysfs.h