2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

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: bcf7eac3d9 ("regmap: add SCCB support")
Reported-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Akinobu Mita 2018-07-23 00:45:46 +09:00 committed by Mark Brown
parent 0afdd676f6
commit 75eb3a67a2
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -1,9 +1,9 @@
// 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 @@ out:
/**
* 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
*