Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752247AbdFOGw5 (ORCPT ); Thu, 15 Jun 2017 02:52:57 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:33222 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbdFOGwz (ORCPT ); Thu, 15 Jun 2017 02:52:55 -0400 Date: Thu, 15 Jun 2017 07:52:51 +0100 From: Okash Khawaja To: Greg Kroah-Hartman Cc: Andy Shevchenko , Samuel Thibault , Jiri Slaby , "linux-kernel@vger.kernel.org" , devel@driverdev.osuosl.org, Kirk Reiser , speakup@linux-speakup.org, Chris Brannon Subject: Re: [patch 1/2] staging: speakup: add function to convert dev name to number Message-ID: <20170615065251.GB372@sanghar> References: <20170613223702.534373529@gmail.com> <20170613224050.646277124@gmail.com> <20170614101326.GA7606@kroah.com> <20170614101541.GA8065@kroah.com> <20170614112609.uqpvl2z5aoi5jchc@var.youpi.perso.aquilenet.fr> <20170614114802.GA23345@kroah.com> <20170614121819.tob426qpysswg5g6@var.youpi.perso.aquilenet.fr> <20170614130418.GA1184@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170614130418.GA1184@kroah.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 540 Lines: 14 Hi, On Wed, Jun 14, 2017 at 03:04:18PM +0200, Greg Kroah-Hartman wrote: > The console stuff is odd though, but that is each driver defining the > name for itself, major/minor does not apply. Also, a separate driver is > not having to figure this all out. I wonder if we could just add a tty > core function for this as it does know the name of everything that has > been registered with it, right? I can start working on a patch for this. I'm still new to the tty code so will follow up with any questions I might have. Thanks, Okash