mirror of https://gitee.com/openkylin/linux.git
staging: kpc2000: kpc_i2c: reformat copyright for better readability
The copyright header in i2c_driver.c is difficult to read and not chronologically ordered. Reformat and reorganize the copyright header to be similar to other drivers in the i2c subsystem. Signed-off-by: Geordan Neukum <gneukum1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8459b54413
commit
11011c03d6
|
@ -1,15 +1,21 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
/* Copyright (c) 2014-2018 Daktronics,
|
/*
|
||||||
Matt Sickler <matt.sickler@daktronics.com>,
|
* KPC2000 i2c driver
|
||||||
Jordon Hofer <jordon.hofer@daktronics.com>
|
*
|
||||||
Adapted i2c-i801.c for use with Kadoka hardware.
|
* Adapted i2c-i801.c for use with Kadoka hardware.
|
||||||
Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
|
*
|
||||||
Philip Edelbrock <phil@netroedge.com>, and Mark D. Studebaker
|
* Copyright (C) 1998 - 2002
|
||||||
<mdsxyz123@yahoo.com>
|
* Frodo Looijaard <frodol@dds.nl>,
|
||||||
Copyright (C) 2007 - 2012 Jean Delvare <khali@linux-fr.org>
|
* Philip Edelbrock <phil@netroedge.com>,
|
||||||
Copyright (C) 2010 Intel Corporation,
|
* Mark D. Studebaker <mdsxyz123@yahoo.com>
|
||||||
David Woodhouse <dwmw2@infradead.org>
|
* Copyright (C) 2007 - 2012
|
||||||
*/
|
* Jean Delvare <khali@linux-fr.org>
|
||||||
|
* Copyright (C) 2010 Intel Corporation
|
||||||
|
* David Woodhouse <dwmw2@infradead.org>
|
||||||
|
* Copyright (C) 2014-2018 Daktronics
|
||||||
|
* Matt Sickler <matt.sickler@daktronics.com>,
|
||||||
|
* Jordon Hofer <jordon.hofer@daktronics.com>
|
||||||
|
*/
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
@ -445,7 +451,7 @@ static s32 i801_access(struct i2c_adapter *adap, u16 addr, unsigned short flags,
|
||||||
struct i2c_device *priv = i2c_get_adapdata(adap);
|
struct i2c_device *priv = i2c_get_adapdata(adap);
|
||||||
|
|
||||||
dev_dbg(&priv->adapter.dev, "i801_access (addr=%0d) flags=%x read_write=%x command=%x size=%x",
|
dev_dbg(&priv->adapter.dev, "i801_access (addr=%0d) flags=%x read_write=%x command=%x size=%x",
|
||||||
addr, flags, read_write, command, size );
|
addr, flags, read_write, command, size );
|
||||||
|
|
||||||
hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && size != I2C_SMBUS_I2C_BLOCK_DATA;
|
hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && size != I2C_SMBUS_I2C_BLOCK_DATA;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue