From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754319AbcEaOLW (ORCPT ); Tue, 31 May 2016 10:11:22 -0400 Received: from www381.your-server.de ([78.46.137.84]:41579 "EHLO www381.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbcEaOLQ (ORCPT ); Tue, 31 May 2016 10:11:16 -0400 Subject: Re: [RFC 4/7] iio: Add current_trigger_id alternative To: Crestez Dan Leonard , Jonathan Cameron , linux-iio@vger.kernel.org References: <0f8ba32f5714db12b798621cb805636d29a1aa02.1464027859.git.leonard.crestez@intel.com> Cc: linux-kernel@vger.kernel.org, Hartmut Knaack , Peter Meerwald-Stadler , Daniel Baluta From: Lars-Peter Clausen Message-ID: <574D9B7D.3020101@metafoo.de> Date: Tue, 31 May 2016 16:11:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <0f8ba32f5714db12b798621cb805636d29a1aa02.1464027859.git.leonard.crestez@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: lars@metafoo.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/23/2016 08:39 PM, Crestez Dan Leonard wrote: > This allows controlling the current trigger by numeric ID rather than > name. This is most certainly the far better interface, but so far we've tried to have only one way to do a certain task with the IIO userspace ABI and try to live with our mistakes of the past. And while this is the better interface I don't think it is that much better that it justifies the ambiguity that is introduced by it. Adding a new interface makes only sense in my opinion if there is a significant improvement in either usability or performance.