media: atomisp: Remove unused libmsrlisthelper
Subsystems (4)
PATCH 1/1 media: atomisp: Remove unused libmsrlisthelper
Since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") the libmsrlisthelper code is no longer used, remove it.
Suggested-by Dr. David Alan Gilbert <[email protected]>
Signed-off-by Hans de Goede <[email protected]>
--- drivers/staging/media/atomisp/i2c/Kconfig | 10 - drivers/staging/media/atomisp/i2c/Makefile | 2 - .../atomisp/i2c/atomisp-libmsrlisthelper.c | 211 ------------------ .../atomisp/include/linux/libmsrlisthelper.h | 28 --- 4 files changed, 251 deletions(-) delete mode 100644 drivers/staging/media/atomisp/i2c/atomisp-libmsrlisthelper.c delete mode 100644 drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h
drivers/staging/media/atomisp/i2c/Kconfig +0 -10
@@ -27,16 +27,6 @@ config VIDEO_ATOMISP_GC2235 It currently only works with the atomisp driver. -config VIDEO_ATOMISP_MSRLIST_HELPER - tristate "Helper library to load, parse and apply large register lists." - depends on I2C - help - This is a helper library to be used from a sensor driver to load, parse - and apply large register lists. - - To compile this driver as a module, choose M here: the - module will be called libmsrlisthelper. - config VIDEO_ATOMISP_MT9M114 tristate "Aptina mt9m114 sensor support" depends on ACPI
drivers/staging/media/atomisp/i2c/Makefile +0 -2
@@ -7,5 +7,3 @@ obj-$(CONFIG_VIDEO_ATOMISP_MT9M114) += atomisp-mt9m114.o obj-$(CONFIG_VIDEO_ATOMISP_GC2235) += atomisp-gc2235.o obj-$(CONFIG_VIDEO_ATOMISP_OV2722) += atomisp-ov2722.o obj-$(CONFIG_VIDEO_ATOMISP_GC0310) += atomisp-gc0310.o - -obj-$(CONFIG_VIDEO_ATOMISP_MSRLIST_HELPER) += atomisp-libmsrlisthelper.o
drivers/staging/media/atomisp/i2c/atomisp-libmsrlisthelper.c deleted +0 -211
211 lines not on this page · raw message
drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h deleted +0 -28
@@ -1,28 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* Copyright (c) 2013 Intel Corporation. All Rights Reserved. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License version -* 2 as published by the Free Software Foundation. -* -* 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. -* -* -*/ -#ifndef __LIBMSRLISTHELPER_H__ -#define __LIBMSRLISTHELPER_H__ - -struct i2c_client ; -struct firmware ; - -int load_msr_list (struct i2c_client *client,char *path, -const struct firmware **fw); -int apply_msr_data (struct i2c_client *client,const struct firmware *fw); -void release_msr_list (struct i2c_client *client, -const struct firmware *fw); - -#endif /* ifndef __LIBMSRLISTHELPER_H__ */
Signature · 1 line
2.46.0
Quoted 2 lines · Hans de Goede
Since commit
3a81c7660f80("media: staging: atomisp: Remove IMX sensor support") the libmsrlisthelper code is no longer used, remove it.
Unconditionally like such a patch!
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko