mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 01:16:40 +07:00
dfdee5f00c
Delete unused I2C adapter IDs. Special cases are: * I2C_HW_B_RIVA was still set in driver rivafb, however no other driver is ever looking for this value, so we can safely remove it. * I2C_HW_B_HDPVR is used in staging driver lirc_zilog, however no adapter ID is ever set to this value, so the code in question never runs. As the code additionally expects that I2C_HW_B_HDPVR may not be defined, we can delete it now and let the lirc_zilog driver maintainer rewrite this piece of code. Big thanks for Hans Verkuil for doing all the hard work :) Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Jarod Wilson <jarod@redhat.com> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
38 lines
1.6 KiB
C
38 lines
1.6 KiB
C
/* ------------------------------------------------------------------------- */
|
|
/* */
|
|
/* i2c-id.h - identifier values for i2c drivers and adapters */
|
|
/* */
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Copyright (C) 1995-1999 Simon G. Vogl
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
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., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
#ifndef LINUX_I2C_ID_H
|
|
#define LINUX_I2C_ID_H
|
|
|
|
/* Please note that I2C driver IDs are optional. They are only needed if a
|
|
legacy chip driver needs to identify a bus or a bus driver needs to
|
|
identify a legacy client. If you don't need them, just don't set them. */
|
|
|
|
/*
|
|
* ---- Adapter types ----------------------------------------------------
|
|
*/
|
|
|
|
/* --- Bit algorithm adapters */
|
|
#define I2C_HW_B_CX2388x 0x01001b /* connexant 2388x based tv cards */
|
|
|
|
#endif /* LINUX_I2C_ID_H */
|