Commit 0c31f8e5720e1191b4cf46a9b5374fe6b857c53c

Authored by Jean Delvare
Committed by Jean Delvare
1 parent ed065e26b8

i2c: Get rid of <linux/i2c-id.h>

The last remaining ID in <linux/i2c-id.h> is no longer used anywhere,
so we can finally get rid of it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>

Showing 3 changed files with 1 additions and 39 deletions Side-by-side Diff

Documentation/video4linux/Zoran
... ... @@ -130,7 +130,7 @@
130 130  
131 131 Note: No module for the mse3000 is available yet
132 132 Note: No module for the vpx3224 is available yet
133   -Note: use encoder=X or decoder=X for non-default i2c chips (see i2c-id.h)
  133 +Note: use encoder=X or decoder=X for non-default i2c chips
134 134  
135 135 ===========================
136 136  
include/linux/i2c-id.h
1   -/* ------------------------------------------------------------------------- */
2   -/* */
3   -/* i2c-id.h - identifier values for i2c drivers and adapters */
4   -/* */
5   -/* ------------------------------------------------------------------------- */
6   -/* Copyright (C) 1995-1999 Simon G. Vogl
7   -
8   - This program is free software; you can redistribute it and/or modify
9   - it under the terms of the GNU General Public License as published by
10   - the Free Software Foundation; either version 2 of the License, or
11   - (at your option) any later version.
12   -
13   - This program is distributed in the hope that it will be useful,
14   - but WITHOUT ANY WARRANTY; without even the implied warranty of
15   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16   - GNU General Public License for more details.
17   -
18   - You should have received a copy of the GNU General Public License
19   - along with this program; if not, write to the Free Software
20   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
21   -/* ------------------------------------------------------------------------- */
22   -
23   -#ifndef LINUX_I2C_ID_H
24   -#define LINUX_I2C_ID_H
25   -
26   -/* Please note that I2C driver IDs are optional. They are only needed if a
27   - legacy chip driver needs to identify a bus or a bus driver needs to
28   - identify a legacy client. If you don't need them, just don't set them. */
29   -
30   -/*
31   - * ---- Adapter types ----------------------------------------------------
32   - */
33   -
34   -/* --- Bit algorithm adapters */
35   -#define I2C_HW_B_CX2388x 0x01001b /* connexant 2388x based tv cards */
36   -
37   -#endif /* LINUX_I2C_ID_H */
... ... @@ -29,7 +29,6 @@
29 29 #include <linux/types.h>
30 30 #ifdef __KERNEL__
31 31 #include <linux/module.h>
32   -#include <linux/i2c-id.h>
33 32 #include <linux/mod_devicetable.h>
34 33 #include <linux/device.h> /* for struct device */
35 34 #include <linux/sched.h> /* for completion */