Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 75eb3a67 authored by Akinobu Mita's avatar Akinobu Mita Committed by Mark Brown
Browse files

regmap: sccb: fix typo and sort headers alphabetically



Fix typos 's/wit/with/' in the comments and sort headers alphabetically
in order to avoid duplicate includes in future.

Fixes: bcf7eac3 ("regmap: add SCCB support")
Reported-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0afdd676
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
// Register map access API - SCCB support

#include <linux/regmap.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "internal.h"

@@ -29,7 +29,7 @@ static bool sccb_is_available(struct i2c_adapter *adap)

/**
 * regmap_sccb_read - Read data from SCCB slave device
 * @context: Device that will be interacted wit
 * @context: Device that will be interacted with
 * @reg: Register to be read from
 * @val: Pointer to store read value
 *
@@ -65,7 +65,7 @@ static int regmap_sccb_read(void *context, unsigned int reg, unsigned int *val)

/**
 * regmap_sccb_write - Write data to SCCB slave device
 * @context: Device that will be interacted wit
 * @context: Device that will be interacted with
 * @reg: Register to write to
 * @val: Value to be written
 *