Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S945999AbcJaTdG (ORCPT ); Mon, 31 Oct 2016 15:33:06 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:56592 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S945924AbcJaTdD (ORCPT ); Mon, 31 Oct 2016 15:33:03 -0400 Date: Mon, 31 Oct 2016 15:32:51 -0400 (EDT) Message-Id: <20161031.153251.1547344422306772113.davem@davemloft.net> To: Julia.Lawall@lip6.fr Cc: richardcochran@gmail.com, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/15] ptp: use permission-specific DEVICE_ATTR variants From: David Miller In-Reply-To: <1477769829-22230-13-git-send-email-Julia.Lawall@lip6.fr> References: <1477769829-22230-1-git-send-email-Julia.Lawall@lip6.fr> <1477769829-22230-13-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 31 Oct 2016 11:33:18 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 419 Lines: 13 From: Julia Lawall Date: Sat, 29 Oct 2016 21:37:06 +0200 > Use DEVICE_ATTR_RO for read only attributes. This simplifies the > source code, improves readbility, and reduces the chance of > inconsistencies. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Also applied to net-next, thank you.