mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 09:12:05 +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;
|
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 = tegra_get_chip_id();
|
||||||
hwpm_linux->device_info.chip_revision = tegra_get_major_rev();
|
hwpm_linux->device_info.chip_revision = tegra_get_major_rev();
|
||||||
|
|||||||
Reference in New Issue
Block a user