Re: [PATCH] Crypto: atmel-ecc: Make a couple of local functions static

From: Tudor Ambarus
Date: Thu Jul 20 2017 - 03:06:11 EST




On 07/19/2017 12:24 PM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Functions atmel_ecc_i2c_client_alloc and atmel_ecc_i2c_client_free are
local to the source and no not need to be in the global scope. Make
them static.

Cleans up sparse warnings:
symbol 'atmel_ecc_i2c_client_alloc' was not declared. Should it be static?
symbol 'atmel_ecc_i2c_client_free' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Acked-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>

Thanks,
ta