soc: qcom: l2_reuse: update the name of the sysfs node

Update the name of the sysfs node to extended_cache_enable
for proper readability.

Change-Id: I11e16d7df72e863547dc6880b64a94fbca1c7413
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
This commit is contained in:
Raghavendra Kakarla 2020-05-06 23:10:38 +05:30
parent 7bb146d884
commit 7732a7ce3b

View file

@ -13,7 +13,7 @@
#define L2_REUSE_SMC_ID 0x00200090C #define L2_REUSE_SMC_ID 0x00200090C
static bool l2_reuse_enable = true; static bool l2_reuse_enable;
static struct kobject *l2_reuse_kobj; static struct kobject *l2_reuse_kobj;
static ssize_t sysfs_show(struct kobject *kobj, static ssize_t sysfs_show(struct kobject *kobj,
@ -38,12 +38,12 @@ static ssize_t sysfs_store(struct kobject *kobj,
return count; return count;
} }
struct kobj_attribute l2_reuse_attr = __ATTR(l2_reuse_enable, 0660, struct kobj_attribute l2_reuse_attr = __ATTR(extended_cache_enable, 0660,
sysfs_show, sysfs_store); sysfs_show, sysfs_store);
static int __init l2_reuse_driver_init(void) static int __init l2_reuse_driver_init(void)
{ {
l2_reuse_kobj = kobject_create_and_add("l2_reuse_enable", power_kobj); l2_reuse_kobj = kobject_create_and_add("l2_reuse", power_kobj);
if (!l2_reuse_kobj) { if (!l2_reuse_kobj) {
pr_info("kobj creation for l2_reuse failed\n"); pr_info("kobj creation for l2_reuse failed\n");