From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754215AbbGXGtN (ORCPT ); Fri, 24 Jul 2015 02:49:13 -0400 Received: from smtp2.provo.novell.com ([137.65.250.81]:41537 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbbGXGtK (ORCPT ); Fri, 24 Jul 2015 02:49:10 -0400 From: Petr Tesarik To: Johan Hovold , Greg Kroah-Hartman Cc: Petr Tesarik , linux-usb@vger.kernel.org (open list:USB SERIAL SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 0/4] Show CP210x part number in sysfs Date: Fri, 24 Jul 2015 08:48:07 +0200 Message-Id: <1437720491-28702-1-git-send-email-ptesarik@suse.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cp210x driver can be used for several devices (CP2101/2/3/4). It is sometimes useful to know the actual part number, because there are slight differences in their capabilities. The first two patches are cleanups and not necessary to implement the feature. I can send them in a separate patch set if that's preferred. Petr Tesarik (4): cp210x: Replace USB magic numbers with symbolic names cp210x: Unify code for set/get config control messages cp210x: Store part number cp210x: Expose the part number in sysfs drivers/usb/serial/cp210x.c | 164 ++++++++++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 65 deletions(-) -- 2.1.4