Re: [PATCH v6 02/10] mtd: physmap_of: Remove unused struct of_device_id

From: Boris Brezillon
Date: Thu Oct 04 2018 - 09:09:23 EST


On Thu, 4 Oct 2018 15:01:02 +0200
Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx> wrote:

> This struct does not seem to be used anywhere on the code
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>

Already queued that one.

> ---
> drivers/mtd/maps/physmap_of_gemini.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/mtd/maps/physmap_of_gemini.c b/drivers/mtd/maps/physmap_of_gemini.c
> index 830b1b7e702b..9df62ca721d5 100644
> --- a/drivers/mtd/maps/physmap_of_gemini.c
> +++ b/drivers/mtd/maps/physmap_of_gemini.c
> @@ -44,11 +44,6 @@
>
> #define FLASH_PARALLEL_HIGH_PIN_CNT (1 << 20) /* else low pin cnt */
>
> -static const struct of_device_id syscon_match[] = {
> - { .compatible = "cortina,gemini-syscon" },
> - { },
> -};
> -
> int of_flash_probe_gemini(struct platform_device *pdev,
> struct device_node *np,
> struct map_info *map)