mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: fix sparse violations
- Add new line required at the end of each file. - Update tegra_hwpm_init_chip_info() as static function. Bug 3528414 Change-Id: I27d3a7d3c3a03e3e0c63b0fcece6ffcdf008eae1 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2764963 Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
738361e0e2
commit
d58dbfe5a9
@@ -66,7 +66,7 @@ static bool tegra_hwpm_read_support_soc_tools_prop(struct platform_device *pdev)
|
||||
return allow_node;
|
||||
}
|
||||
|
||||
int tegra_hwpm_init_chip_info(struct tegra_hwpm_os_linux *hwpm_linux)
|
||||
static int tegra_hwpm_init_chip_info(struct tegra_hwpm_os_linux *hwpm_linux)
|
||||
{
|
||||
hwpm_linux->device_info.chip = tegra_get_chip_id();
|
||||
hwpm_linux->device_info.chip_revision = tegra_get_major_rev();
|
||||
|
||||
@@ -31,4 +31,4 @@ int tegra_hwpm_regops_writel_impl(struct tegra_soc_hwpm *hwpm,
|
||||
struct hwpm_ip_inst *ip_inst, struct hwpm_ip_aperture *aperture,
|
||||
u64 addr, u32 val);
|
||||
|
||||
#endif /* TEGRA_HWPM_OS_LINUX_IO_UTILS_H */
|
||||
#endif /* TEGRA_HWPM_OS_LINUX_IO_UTILS_H */
|
||||
|
||||
@@ -20,4 +20,4 @@ struct tegra_soc_hwpm_exec_reg_ops;
|
||||
int tegra_hwpm_exec_regops(struct tegra_soc_hwpm *hwpm,
|
||||
struct tegra_soc_hwpm_exec_reg_ops *exec_reg_ops);
|
||||
|
||||
#endif /* TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H */
|
||||
#endif /* TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user