Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp20929448ybl; Sun, 5 Jan 2020 15:16:01 -0800 (PST) X-Google-Smtp-Source: APXvYqx+gszui550TIip3TECLld2bKXiM/+6KjysF1kyqsUr3W8enQUKIfw9oxJ/g8m4Acv1IcFr X-Received: by 2002:a05:6830:18ed:: with SMTP id d13mr48228618otf.208.1578266161170; Sun, 05 Jan 2020 15:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578266161; cv=none; d=google.com; s=arc-20160816; b=Lhk/b8uBI53JJHuTavqs11o/AscZ962jkOQAOUA/fDaNk4GVK0JKPlt5JF9Qc/72pY yABHa1Beb52HG9vm/qpT+sDCe/gUleujoV+CEBXvsLIhUyabL9ETtSzpSXkzNcWjXB7W jTLzkYAn704xtN3eF/4YF30Yq7OVbn+Kry86pOeyreLEqhNqyulgQm/XooQpr+y3zfJq NObwbb+ks7UKDrCZ34DRPYFipti6DPXKfzv3zbiJ8qAgeh7u4gWdC/2b2ErqXC39MINy EWE1H7bIniGXYefl//SIfwB/vaYBrKbITj5gNbY4cHcpuiDqdteU/g4BHfI8Ji9V+jxj Cd4A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OFDqq+noJwvGKP4QL+E1f463K6Vvlb4YxI0XOJh3704=; b=I8vdkTuZnqitxmLn8vV2z/HxypRvLGTztJQBMDyv5o8Es50p6IKwGZcJX6m+3eHHzx y6dHTE2nHfNBgW00StmUrGyzlCLActgpGTVPzsoss/cIYKKK6im8b5UZ29bBmKI7NMnU X+ws5iVQoFdYBQbvhKkmiJ61s6axAHvoJElihAULVmb5NzHaExX4BLb/WSRgzwQT3+vp frkoVoUJLOH2JiT/xbMqxNvHAiqqx4LxTDcxcwUnokyNimf2n20QDA5ASCSKticqcuxg DyNuDlPMKSN26OefGkYHIFIJxWe2NpTdA6o+uypc5aJfeidCUbBfDpnEjTlt0FUYC5sP NMpw== 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 a3si28385211otr.37.2020.01.05.15.15.49; Sun, 05 Jan 2020 15:16:01 -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 S1727282AbgAEXO5 (ORCPT + 99 others); Sun, 5 Jan 2020 18:14:57 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:54464 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727256AbgAEXOx (ORCPT ); Sun, 5 Jan 2020 18:14:53 -0500 Received: from [37.160.42.38] (port=5507 helo=melee.fritz.box) by hostingweb31.netsons.net with esmtpa (Exim 4.92) (envelope-from ) id 1ioEkG-00GSqI-Dp; Sun, 05 Jan 2020 23:51:40 +0100 From: Luca Ceresoli To: linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org Cc: Luca Ceresoli , Wolfram Sang , Peter Rosin , linux-kernel@vger.kernel.org Subject: [PATCH 22/26] docs: i2c: instantiating-devices: use monospace for filenames Date: Sun, 5 Jan 2020 23:50:08 +0100 Message-Id: <20200105225012.11701-22-luca@lucaceresoli.net> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200105225012.11701-1-luca@lucaceresoli.net> References: <20200105224006.10321-1-luca@lucaceresoli.net> <20200105225012.11701-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- 2.24.1