From patchwork Fri Jan 20 07:56:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645397 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC442C05027 for ; Fri, 20 Jan 2023 07:57:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229488AbjATH5F (ORCPT ); Fri, 20 Jan 2023 02:57:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjATH45 (ORCPT ); Fri, 20 Jan 2023 02:56:57 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F420F875B3 for ; Thu, 19 Jan 2023 23:56:55 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id g10so3352111wmo.1 for ; Thu, 19 Jan 2023 23:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hmrO048R9niCXK/5eimwZ8B+pWaKXobeemlvwUnYMX0=; b=SPff/Rh67EDcHWGB8DX7eO7X5ZG66F+HNdtyESx2N0PR0fowXMhuL60JHzlKB4lVMj J0vlD2Gw4BklzZhzzm8Pk8qPwlzG0/RJk6hZ/9tL/8d9H5nVSmNob9Ig76DJIXDjgOEw FWYqN9z0iAgj2oU9U/68f7avtRoFDTLFDmZUbmS/GBmTW8I6l8F5tSw8kELZwriniffD qJ/oMiWBuajHSWPDfAomYohzATd91WCGzx+om/haocOV04UMpfKHAV+3EtTR9255a5Jh zDMCAYM+T0zDMSLXYGFhzF6yOH/0tI1JrUl2r/Q54RZynAmfr6H698nd1ZgyC4pG6SjE gIgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hmrO048R9niCXK/5eimwZ8B+pWaKXobeemlvwUnYMX0=; b=ar33NFKiQ9RSZpmLLUihcW4U8L222tc/MuYxPi3/bMhkP9AREdVkbNwqw+xhWGe6J3 Ag16vk4dRo8hAKdYe9XOkTxXnSCfZQpwR9M36V91pSQjqGyN/SONtBhPselDGvg3dvbi w9y5Cgx+rAW08nyxOSzDd7L14j24Mt23KUmmtiVLDNXnzDqUR7Wy30/v/BQzGc7BMkzc tcuMi187JaxE3CUxIEcYhyjpYUHrk2XbBA5xaLFGQGRq7DetTdbU4bgahobpFGEajBtf vkxjb20hblMzQX6B1KnQ+TNxlo436bNvZ7KFDrZ0hf4M0lbpnXn4H7sqpwK+14W4hmYu T5zg== X-Gm-Message-State: AFqh2koZMXeSFaKPbuUZZkzRByemI0ZQzeCYxiNsUrqY30V7MyFLpWKL LjIQHQDnL6n+uE5ZcA08v5pkCNX2Ofo8vCcM X-Google-Smtp-Source: AMrXdXs7qBDLmimxwI0JUiJqdz4L3wkMmnNmwFiMmVN8PAQUL89GSNf1W++Fe+OZ7vV0/3A9Lg+KVw== X-Received: by 2002:a05:600c:198e:b0:3db:1d7e:c429 with SMTP id t14-20020a05600c198e00b003db1d7ec429mr5936155wmq.40.1674201414529; Thu, 19 Jan 2023 23:56:54 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id he11-20020a05600c540b00b003d9b89a39b2sm1455840wmb.10.2023.01.19.23.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 23:56:54 -0800 (PST) From: Krzysztof Kozlowski To: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] spi: spidev: order compatibles alphabetically Date: Fri, 20 Jan 2023 08:56:51 +0100 Message-Id: <20230120075651.153763-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Bring some order to reduce possibilities of conflicts. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spidev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 8143f8ffecb0..f836567c631b 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -733,14 +733,14 @@ static int spidev_of_check(struct device *dev) } static const struct of_device_id spidev_dt_ids[] = { - { .compatible = "rohm,dh2228fv", .data = &spidev_of_check }, + { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, + { .compatible = "dh,dhcom-board", .data = &spidev_of_check }, { .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check }, - { .compatible = "semtech,sx1301", .data = &spidev_of_check }, { .compatible = "lwn,bk4", .data = &spidev_of_check }, - { .compatible = "dh,dhcom-board", .data = &spidev_of_check }, { .compatible = "menlo,m53cpld", .data = &spidev_of_check }, - { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "micron,spi-authenta", .data = &spidev_of_check }, + { .compatible = "rohm,dh2228fv", .data = &spidev_of_check }, + { .compatible = "semtech,sx1301", .data = &spidev_of_check }, { .compatible = "silabs,em3581", .data = &spidev_of_check }, { .compatible = "silabs,si3210", .data = &spidev_of_check }, {},