disp: msm: remove debugfs_create_u32 return value
Commit 2b07021a940c ("debugfs: remove return value of debugfs_create_u32()") removes the return value from debugfs_create_u32. This change updates the msm driver to remove cehcks on this return and corrects for unnecessary line wraps. Change-Id: I8d50dd7168921edfb2d5edad13941f91117d3c30 Signed-off-by: Samantha Tran <samtran@codeaurora.org> Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
Tento commit je obsažen v:

odevzdal
Nilaan Gunabalachandran

rodič
c5d2fba4e7
revize
e199ecbfb8
@@ -1933,14 +1933,7 @@ static int dsi_display_debugfs_init(struct dsi_display *display)
|
||||
|
||||
snprintf(name, ARRAY_SIZE(name),
|
||||
"%s_regulator_min_datarate_bps", phy->name);
|
||||
dump_file = debugfs_create_u32(name, 0600, dir,
|
||||
&phy->regulator_min_datarate_bps);
|
||||
if (IS_ERR_OR_NULL(dump_file)) {
|
||||
rc = PTR_ERR(dump_file);
|
||||
DSI_ERR("[%s] debugfs create %s failed, rc=%d\n",
|
||||
display->name, name, rc);
|
||||
goto error_remove_dir;
|
||||
}
|
||||
debugfs_create_u32(name, 0600, dir, &phy->regulator_min_datarate_bps);
|
||||
}
|
||||
|
||||
if (!debugfs_create_bool("ulps_feature_enable", 0600, dir,
|
||||
@@ -1964,12 +1957,7 @@ static int dsi_display_debugfs_init(struct dsi_display *display)
|
||||
goto error_remove_dir;
|
||||
}
|
||||
|
||||
if (!debugfs_create_u32("clk_gating_config", 0600, dir,
|
||||
&display->clk_gating_config)) {
|
||||
DSI_ERR("[%s] debugfs create clk gating config failed\n",
|
||||
display->name);
|
||||
goto error_remove_dir;
|
||||
}
|
||||
debugfs_create_u32("clk_gating_config", 0600, dir, &display->clk_gating_config);
|
||||
|
||||
display->root = dir;
|
||||
dsi_parser_dbg_init(display->parser, dir);
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele