Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp90215pxu; Thu, 10 Dec 2020 19:23:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwF4PoZWkJThj1oonpf8+YpAgI+9TXAJt7ittpPC8dpzWjdh4l4BFOKUZZDTtuvQYTOkOL X-Received: by 2002:a50:ab59:: with SMTP id t25mr9865775edc.364.1607657027591; Thu, 10 Dec 2020 19:23:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607657027; cv=none; d=google.com; s=arc-20160816; b=D1VlTQisJhtj14VIeR5IKy50CnF/WyjBEV5qADWdPrJXTBMRkb8vAyBIscnknnZzj7 hwAoOEJIivoeTlsFVSOrbBVeVeaH++5vl4HVAd1aSZpzX/+aWUYnegMURA2JRx5zRZrx XS9/mv/DqfN9fYJUBUi7hLlzdPLxt3O1FRRqUS4YilFSu9aFIjOsg2cnosYxhbA0kAS0 eLdCfu+JNy6gKo6cblmwiIt3Dhv9FzaHZfB3z3qnR8WM2tGFHmewNAISm92qReUqIkdH ld3oBVgf5ej4YeuiyhsLP4mMXU83kCJcM6/wp0ZYl51UhwGerAx2dGcT/j97HjJs2nAP 3Nrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=8ydlfy34c6nPsLpd9kGRDa/3puoQd9KbkXft14KCtH0=; b=srfqTEPNB3DV93GkT2tJu9PaHpB1tcaakEm1k7Tzi8bCXjxS+iipQAZ5jbgrwdWxsI HdvZ+WLggfZ23qiuM9yFRECms/5yAV4Tvkb3FUFsQ469Jnj8yHtGVy/YIPxwnDqLi9Vt Z2CRsY02/oFbicTbqVqhZ1aVTZ27f9Wsv0j7GOXFWrftLMoGLlSO1hVBBMikuD+NIWGM TySwKxBU931JEA+A3AgH4v9/FfwV2gV3XDixAmE6E9gSNWGoSujnvFQmVx19sgNUzgi6 btrCzEo+Trcpf8kuJoe/lPJq3z69bFaI2TlJXXdh7ADmtQtumevvpoqDO71C1aMnB6bt bX1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si3931780eds.174.2020.12.10.19.23.25; Thu, 10 Dec 2020 19:23:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390164AbgLJO2o (ORCPT + 99 others); Thu, 10 Dec 2020 09:28:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:36498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390091AbgLJO2H (ORCPT ); Thu, 10 Dec 2020 09:28:07 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Johan Hovold Subject: [PATCH 4.4 19/39] USB: serial: ch341: sort device-id entries Date: Thu, 10 Dec 2020 15:26:30 +0100 Message-Id: <20201210142601.854048376@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201210142600.887734129@linuxfoundation.org> References: <20201210142600.887734129@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Johan Hovold commit bf193bfc12dbc3754fc8a6e0e1e3702f1af2f772 upstream. Keep the device-id entries sorted to make it easier to add new ones in the right spot. Reviewed-by: Greg Kroah-Hartman Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ch341.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c @@ -70,11 +70,11 @@ static const struct usb_device_id id_table[] = { - { USB_DEVICE(0x4348, 0x5523) }, - { USB_DEVICE(0x1a86, 0x7522) }, - { USB_DEVICE(0x1a86, 0x7523) }, { USB_DEVICE(0x1a86, 0x5512) }, { USB_DEVICE(0x1a86, 0x5523) }, + { USB_DEVICE(0x1a86, 0x7522) }, + { USB_DEVICE(0x1a86, 0x7523) }, + { USB_DEVICE(0x4348, 0x5523) }, { }, }; MODULE_DEVICE_TABLE(usb, id_table);