[U-Boot] [PATCH 08/69] gpio: Use const where possible

Bin Meng bmeng.cn at gmail.com
Fri Mar 11 04:45:57 CET 2016


On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass <sjg at chromium.org> wrote:
> Some functions do not change the struct gpio_desc parameter. Update these to
> use const so this is clear.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/gpio/gpio-uclass.c | 10 +++++-----
>  include/asm-generic/gpio.h | 10 +++++-----
>  2 files changed, 10 insertions(+), 10 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list