diff mbox

[U-Boot] dm: device.c: Minor coding-style fix

Message ID 1458118681-5158-1-git-send-email-sr@denx.de
State Accepted
Commit 770eb30ed971204ab4972b7609ea30beef025a18
Delegated to: Simon Glass
Headers show

Commit Message

Stefan Roese March 16, 2016, 8:58 a.m. UTC
Fix multi-line comment indentation in device_bind()

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
---
 drivers/core/device.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Bin Meng March 16, 2016, 9:01 a.m. UTC | #1
On Wed, Mar 16, 2016 at 4:58 PM, Stefan Roese <sr@denx.de> wrote:
> Fix multi-line comment indentation in device_bind()
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> ---
>  drivers/core/device.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Simon Glass April 9, 2016, 4:08 p.m. UTC | #2
On 16 March 2016 at 03:01, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Wed, Mar 16, 2016 at 4:58 PM, Stefan Roese <sr@denx.de> wrote:
>> Fix multi-line comment indentation in device_bind()
>>
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> Cc: Simon Glass <sjg@chromium.org>
>> ---
>>  drivers/core/device.c | 12 ++++++------
>>  1 file changed, 6 insertions(+), 6 deletions(-)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot-dm, thanks!
diff mbox

Patch

diff --git a/drivers/core/device.c b/drivers/core/device.c
index cb24a61..766c717 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -66,12 +66,12 @@  int device_bind(struct udevice *parent, const struct driver *drv,
 	dev->req_seq = -1;
 	if (CONFIG_IS_ENABLED(OF_CONTROL) && CONFIG_IS_ENABLED(DM_SEQ_ALIAS)) {
 		/*
-		* Some devices, such as a SPI bus, I2C bus and serial ports
-		* are numbered using aliases.
-		*
-		* This is just a 'requested' sequence, and will be
-		* resolved (and ->seq updated) when the device is probed.
-		*/
+		 * Some devices, such as a SPI bus, I2C bus and serial ports
+		 * are numbered using aliases.
+		 *
+		 * This is just a 'requested' sequence, and will be
+		 * resolved (and ->seq updated) when the device is probed.
+		 */
 		if (uc->uc_drv->flags & DM_UC_FLAG_SEQ_ALIAS) {
 			if (uc->uc_drv->name && of_offset != -1) {
 				fdtdec_get_alias_seq(gd->fdt_blob,