mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
platform/x86/amd/hsmp: Remove extra parenthesis and add a space
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>
This commit is contained in:
parent
ef6e98177f
commit
202574971d
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user