From: SeongJae Park Date: Wed, 12 Feb 2014 05:11:07 +0000 (+0900) Subject: regulator: da9055: declare return type of inline function exclusively X-Git-Tag: v3.15-rc1~148^2~5^4~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae6cdb422ba9708f152f313046dfc98a9336235;p=pandora-kernel.git regulator: da9055: declare return type of inline function exclusively da9055_regulator_dt_init does not declare return type and it cause following build warning. drivers/regulator/da9055-regulator.c:582:15: warning: return type defaults to ‘int’ [-Wreturn-type] static inline da9055_regulator_dt_init(struct platform_device *pdev, ^ Fix the warning by declare return type as int exclusively. Signed-off-by: SeongJae Park Signed-off-by: Mark Brown --- Reading git-diff-tree failed