Remove unused work_amd_i2c_common() macro.
Signed-off-by: Richard Neumann
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/i2c-amd-mp2.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-amd-mp2.h b/drivers/i2c/busses/i2c-amd-mp2.h
index 6b91e285745d..ddecd0c88656
ce v2:
* Remove duplicate local pointer to pci_dev.
Richard Neumann (2):
i2c: i2c-amd-mp2: Remove NIH logging functions
i2c: i2c-amd-mp2: Remove unused macro
drivers/i2c/busses/i2c-amd-mp2-pci.c | 55 +++
drivers/i2c/busses/i2c-amd-mp2-plat.c | 3 +-
drivers/i2c/b
Use pci_{info,warn,err,dbg} functions of the kernel's PCI API.
Remove unnecessary ndev_pdev(), ndev_name() and ndev_dev() macros.
While at it, remove useless __func__ from logging.
Signed-off-by: Richard Neumann
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/i2c-amd-mp2-pci.c
://bugzilla.kernel.org/show_bug.cgi?id=199715
Am Samstag, dem 23.01.2021 um 14:47 +0100 schrieb
m...@richard-neumann.de:
> From: Richard Neumann
>
> Refactored the AMD SFH platform driver to initialize the HIDs with
> additional meta data, such as the sensor name, HUB name and bus type.
>
Hi all,
on a quick glance, I noticed, that the sensor masks (*_EN) are no
longer derived from their indices:
amd_sfh_pcie.h:
enum sensor_idx {
accel_idx = 0,
gyro_idx = 1,
mag_idx = 2,
als_idx = 19
};
amd_sfh_pcie.c:
#define ACEL_EN BIT(
Hi,
Am Dienstag, den 28.07.2020, 16:58 +0200 schrieb Marco Felsch:
> Hi,
>
> On 20-05-29 17:21, Andy Shevchenko wrote:
> > On Fri, May 29, 2020 at 4:42 PM Sandeep Singh <
> > sandeep.si...@amd.com> wrote:
> > > From: Sandeep Singh
> > >
> > > AMD SFH(Sensor Fusion Hub) is HID based driver.SFH F
6 matches
Mail list logo