1
0
Fork 0

i2c: algo-bit: convert to SPDX header

And use kernel style for the remaining comments in the header.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
hifive-unleashed-5.1
Wolfram Sang 2019-01-19 13:16:54 +01:00 committed by Wolfram Sang
parent 2292822e15
commit 738ac0679b
2 changed files with 16 additions and 40 deletions

View File

@ -1,21 +1,12 @@
/* ------------------------------------------------------------------------- // SPDX-License-Identifier: GPL-2.0+
* i2c-algo-bit.c i2c driver algorithms for bit-shift adapters /*
* ------------------------------------------------------------------------- * i2c-algo-bit.c: i2c driver algorithms for bit-shift adapters
*
* Copyright (C) 1995-2000 Simon G. Vogl * Copyright (C) 1995-2000 Simon G. Vogl
*
This program is free software; you can redistribute it and/or modify * With some changes from Frodo Looijaard <frodol@dds.nl>, Kyösti Mälkki
it under the terms of the GNU General Public License as published by * <kmalkki@cc.hut.fi> and Jean Delvare <jdelvare@suse.de>
the Free Software Foundation; either version 2 of the License, or */
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
* ------------------------------------------------------------------------- */
/* With some changes from Frodo Looijaard <frodol@dds.nl>, Kyösti Mälkki
<kmalkki@cc.hut.fi> and Jean Delvare <jdelvare@suse.de> */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>

View File

@ -1,26 +1,11 @@
/* ------------------------------------------------------------------------- */ /* SPDX-License-Identifier: GPL-2.0+ */
/* i2c-algo-bit.h i2c driver algorithms for bit-shift adapters */ /*
/* ------------------------------------------------------------------------- */ * i2c-algo-bit.h: i2c driver algorithms for bit-shift adapters
/* Copyright (C) 1995-99 Simon G. Vogl *
* Copyright (C) 1995-99 Simon G. Vogl
This program is free software; you can redistribute it and/or modify * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even
it under the terms of the GNU General Public License as published by * Frodo Looijaard <frodol@dds.nl>
the Free Software Foundation; either version 2 of the License, or */
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301 USA. */
/* ------------------------------------------------------------------------- */
/* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even
Frodo Looijaard <frodol@dds.nl> */
#ifndef _LINUX_I2C_ALGO_BIT_H #ifndef _LINUX_I2C_ALGO_BIT_H
#define _LINUX_I2C_ALGO_BIT_H #define _LINUX_I2C_ALGO_BIT_H