Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4655088ybl; Wed, 22 Jan 2020 02:10:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyqF34U3L8sgQcu6dt9w78pLgwr3dErLx8CIZjBQW0+4ZSbkcUNOQWY7+qX98vZBWxhjTRE X-Received: by 2002:a05:6830:10d7:: with SMTP id z23mr6801114oto.114.1579687838481; Wed, 22 Jan 2020 02:10:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579687838; cv=none; d=google.com; s=arc-20160816; b=MpSFDIWNUBwjMp2Us21wS8qBM3SR9xjikrh8q1CN5bvyxXVp5U6fcvfSIP52ohrKUa MbMwZ0/8Rk4UgmIM0G8SQvzIwDto1TznU2xLPQK7akS40X6ji/EuD/KTCP1mpMaO7dD4 iiclkZkwzIpKw7FTtGMMV2Rc9hLlin30IbBkxFTvcqMC4L/pXh+cEI7PTS/gyc0SdvNw TJdNXP3RClb41TP2aSLx51a/tXWy/ONr1uRFOpRuQXj039xtpgzYw6p0g8pygVMRkqDx 02Io/1+Jmw9bzkBivrFYiPZHmpilGxN0AaJxmm7j9wPAmZw/mR4IpKqBx82CfU8SHDXe gzNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=U+0wfC6z4rExJF2f0/BUFmXHH9GmH7QaFSuHnhgv5MM=; b=A5qo4yc5ylJM9/3glqS6ekIgdu7YBQRY4bzKlsEVuV+EUxSFI0zwg4tYNAkzQtSjI4 aiD0ZGbiS0CgjwDb0NQkkMlkkz+dD4ahCTceAo0Z3LEj2xhVGISYPhqzUOugsBbDUKHr eQ8iwgQzQWkAlrIq2iKt6zz3kkvzzdrjQdPW0uaX17asoPHteBos8fd2iN9MzwZa7Ljk jN6qgOb1K+fwRPt3Qr4legDF2npKbouQ228psdtszyXbyW3JPNjfWD6EtYW8xWpJBuIR +i8o7M9f3THxjuubx8XAYDo5TkZII5ccaBvh3EDIDAZh3W5kmqJCRzwuYZQmBT6eENcH xMGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si1469826otk.126.2020.01.22.02.10.26; Wed, 22 Jan 2020 02:10:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729337AbgAVKIH (ORCPT + 99 others); Wed, 22 Jan 2020 05:08:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:54120 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbgAVKIH (ORCPT ); Wed, 22 Jan 2020 05:08:07 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 58CA7AD9F; Wed, 22 Jan 2020 10:08:05 +0000 (UTC) Date: Wed, 22 Jan 2020 11:08:02 +0100 From: Jean Delvare To: Luca Ceresoli Cc: linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, Wolfram Sang , Peter Rosin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 22/26] docs: i2c: instantiating-devices: use monospace for filenames Message-ID: <20200122110802.02f24fd7@endymion> In-Reply-To: <20200105225012.11701-22-luca@lucaceresoli.net> References: <20200105224006.10321-1-luca@lucaceresoli.net> <20200105225012.11701-1-luca@lucaceresoli.net> <20200105225012.11701-22-luca@lucaceresoli.net> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 5 Jan 2020 23:50:08 +0100, Luca Ceresoli wrote: > Use a monospace (literal) formatting for better readability of filenames. > > Signed-off-by: Luca Ceresoli > --- > Documentation/i2c/instantiating-devices.rst | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/Documentation/i2c/instantiating-devices.rst b/Documentation/i2c/instantiating-devices.rst > index cbcafb36b417..f06d44c5b692 100644 > --- a/Documentation/i2c/instantiating-devices.rst > +++ b/Documentation/i2c/instantiating-devices.rst > @@ -224,15 +224,15 @@ In general, the kernel should know which I2C devices are connected and > what addresses they live at. However, in certain cases, it does not, so a > sysfs interface was added to let the user provide the information. This > interface is made of 2 attribute files which are created in every I2C bus > -directory: new_device and delete_device. Both files are write only and you > -must write the right parameters to them in order to properly instantiate, > -respectively delete, an I2C device. > +directory: ``new_device`` and ``delete_device``. Both files are write > +only and you must write the right parameters to them in order to properly > +instantiate, respectively delete, an I2C device. > > -File new_device takes 2 parameters: the name of the I2C device (a string) > -and the address of the I2C device (a number, typically expressed in > -hexadecimal starting with 0x, but can also be expressed in decimal.) > +File ``new_device`` takes 2 parameters: the name of the I2C device (a > +string) and the address of the I2C device (a number, typically expressed > +in hexadecimal starting with 0x, but can also be expressed in decimal.) > > -File delete_device takes a single parameter: the address of the I2C > +File ``delete_device`` takes a single parameter: the address of the I2C > device. As no two devices can live at the same address on a given I2C > segment, the address is sufficient to uniquely identify the device to be > deleted. Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support