Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965826AbdGTP41 (ORCPT ); Thu, 20 Jul 2017 11:56:27 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:28878 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934802AbdGTP4Z (ORCPT ); Thu, 20 Jul 2017 11:56:25 -0400 Subject: Re: [PATCH 1/4] can: dev: Add support for limiting configured bitrate To: Oliver Hartkopp , , , , , , , , , , References: <20170719233654.25908-1-fcooper@ti.com> <20170719233654.25908-2-fcooper@ti.com> From: Franklin S Cooper Jr Message-ID: <055c00f5-0775-4e35-309c-0d1c8aa0afdf@ti.com> Date: Thu, 20 Jul 2017 10:55:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [128.247.59.33] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 658 Lines: 36 Hi Oliver On 07/20/2017 02:43 AM, Oliver Hartkopp wrote: > Hi Franklin, > > On 07/20/2017 01:36 AM, Franklin S Cooper Jr wrote: > >> +#ifdef CONFIG_OF >> +void of_transceiver_is_fixed(struct net_device *dev) >> +{ > > (..) > >> +} >> +EXPORT_SYMBOL(of_transceiver_is_fixed); >> +#endif > > I'm not sure about the naming here. > > As this is a CAN transceiver related option it should be named accordingly: > > E.g. > > can_transceiver_is_fixed > of_can_transceiver_is_fixed > ... > > Especially as it is defined in include/linux/can/dev.h Thanks for the feedback. I'll go with of_can_transceiver_is_fixed > > Regards, > Oliver > >