Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751767AbaBLHJt (ORCPT ); Wed, 12 Feb 2014 02:09:49 -0500 Received: from f237.i.mail.ru ([94.100.178.217]:44605 "EHLO f237.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809AbaBLHJr (ORCPT ); Wed, 12 Feb 2014 02:09:47 -0500 From: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= To: =?UTF-8?B?UGF3ZWwgTW9sbA==?= Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?B?TGVlIEpvbmVz?= , =?UTF-8?B?U2FtdWVsIE9ydGl6?= Subject: =?UTF-8?B?UmU6IFtQQVRDSCAwNy8xMl0gbWZkOiBzeXNjb246IENvbnNpZGVyIHBsYXRm?= =?UTF-8?B?b3JtIGRhdGEgYSByZWdtYXAgY29uZmlnIG5hbWU=?= Mime-Version: 1.0 X-Mailer: Mail.Ru Mailer 1.0 X-Originating-IP: [217.119.30.118] Date: Wed, 12 Feb 2014 11:09:42 +0400 Reply-To: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= X-Priority: 3 (Normal) Message-ID: <1392188982.914924525@f237.i.mail.ru> Content-Type: text/plain; charset=utf-8 X-Mras: Ok X-Spam: undefined In-Reply-To: <1392138636-29240-8-git-send-email-pawel.moll@arm.com> References: <1392138636-29240-1-git-send-email-pawel.moll@arm.com> <1392138636-29240-8-git-send-email-pawel.moll@arm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by spinics.net id s1C79vpo020238 Hello. Вторник, 11 февраля 2014, 17:10 UTC от Pawel Moll : > Use the device platform data as a regmap config > name. This is particularly useful in the regmap > debugfs when there is more than one syscon device > registered, to distinguish the register blocks. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by: Pawel Moll > --- ... > syscon_regmap_config.max_register = res->end - res->start - 3; > + syscon_regmap_config.name = dev_get_platdata(&pdev->dev); Is dev_name(&pdev->dev) can be used for such purpose? Thanks. --- ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?