platform/x86/amd/hsmp: Remove extra parenthesis and add a space
authorSuma Hegde <suma.hegde@amd.com>
Sat, 6 Jan 2024 02:25:32 +0000 (02:25 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 31 Jan 2024 08:31:12 +0000 (10:31 +0200)
Remove unnecessary parenthesis around hsmp_get_tbl_dram_base().

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240106022532.1746932-11-suma.hegde@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/hsmp.c

index 1b446d36221fd8b6c078287f7c56fb7c45f310c9..4a12d7ab36c119fb3542b8532848e16c582f3a73 100644 (file)
@@ -641,12 +641,12 @@ static int hsmp_init_metric_tbl_bin_attr(struct bin_attribute **hattrs, u16 sock
        hattrs[0]               = hattr;
 
        if (plat_dev.proto_ver == HSMP_PROTO_VER6)
-               return (hsmp_get_tbl_dram_base(sock_ind));
+               return hsmp_get_tbl_dram_base(sock_ind);
        else
                return 0;
 }
 
-/* One bin sysfs for metrics table*/
+/* One bin sysfs for metrics table */
 #define NUM_HSMP_ATTRS         1
 
 static int hsmp_create_attr_list(struct attribute_group *attr_grp,