Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934036AbcJZQ1A (ORCPT ); Wed, 26 Oct 2016 12:27:00 -0400 Received: from mail-bl2nam02on0073.outbound.protection.outlook.com ([104.47.38.73]:65519 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933850AbcJZQ0z (ORCPT ); Wed, 26 Oct 2016 12:26:55 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; From: Stuart Yoder To: CC: , , , , , , , , Stuart Yoder Subject: [PATCH v2 09/12] staging: fsl-mc: cleanup: improve clarity of messages Date: Wed, 26 Oct 2016 11:20:31 -0500 Message-ID: <1477498834-30425-10-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1477498834-30425-1-git-send-email-stuart.yoder@nxp.com> References: <1477498834-30425-1-git-send-email-stuart.yoder@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131219728131775273;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(305945005)(7846002)(69596002)(6666003)(33646002)(2351001)(50466002)(50226002)(229853001)(104016004)(47776003)(76176999)(68736007)(19580405001)(50986999)(2950100002)(19580395003)(97736004)(6916009)(8666005)(36756003)(87936001)(189998001)(92566002)(15650500001)(356003)(7416002)(77096005)(8936002)(105606002)(48376002)(586003)(110136003)(2906002)(5660300001)(85426001)(626004)(4326007)(106466001)(86362001)(5003940100001)(11100500001)(8676002)(81156014)(81166006)(7059030)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0301MB1619;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD005;1:LFL7vUk/FFZftvJVbMr7KrmXjfOWZ8wirhPAqJI/axS6ACxxxc9xzsDAQ74KqcufQYMWN7TFhip06Pi8qFrfXrpW3CS3iOBVo6tzcrri2mAg53aiQlOFSW7qJvC91fV9y7NO/0W+k4i5BKWqjzYj8fO3rEdBs4Ci8ncFKsaVDYqxhBVqiQkGv31Op0x3DqFRFMoLioJhlKB5FmejfcR6vBiFTeLmI6sAIVrp9qF8Ch20Mlz9PRD2QoLc+PS58CDP1GTBpa10Jjg9xLMe5F+zk7YpQCe8EDDfEGJaXekjfKJM2dcuy59+U0R47mC6M5QblMDShLcyo7hCwbKJ8iVJezLqBG/lDEiSJnOcRxixLGJFkJRw5byXx19HjiNRzJIFPIlhPqRylB+h9the0ejlAiEHODzMph/nxuDGjxKJ+7d5Sj1fiHUF2suQAWMGhuUQMU7OWrRBB3d8gtkzYuIMyRafQqQ/4JTT6ildhL9LOYD/SZRaiOR6zZ6eGZGy/uVhT+XEr9nnf6PSsU6Z7MfJr86H5/YM8ELl7rQf79rxteN1s7mcRST8fdksZ/MHpDeK7Q1jIjCoe7p9ydzc7zYShgBxJKeTmTXDCs7YZs8mIGDz8JM0S/rzm/WRqerQOUvjn0qkwBYq5osXuf0Xy4qs024oyOYPhPyWfTWYkMli2P4anbUt/55yYmBJ3f5xYXGq8Wsh/R5087z0imqB6h8CYl7R9+5U+faaCcXUirJUCXk= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ca2628d9-1760-48cc-b1ac-08d3fdbce537 X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB1619;2:DmYKL+uK4krtRv08XunI24Y4qIH8YlHF/1nH/dMXxf9X4JJ2yVnaXFGfLIhGm5I2/99vNeR2Od8kD4QAqVHO4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O79qexzB95529V80BOktvLWubGhwm2eE66oMNal1+dbhHbChzsshlfopD720pZ/x75IsYajyrQ0gU7tWdlqp17oG7AtBqv7fV3JPXYUNq5tSGL5cthNVx74o/LH3zLJdPcztM1mZ24wnu/ibthI0pjYKPffJe65g8OnilA==;4:xlYRU/JzmsMWKRWjifGNGUqodc2DTQtuCnTh3atYL/FeGIEpJUDGkyj8pq95TnESnx/oC6VuGxr8w9JeaQtMFK0rGa4SSj0VNn5nuoopMKX/e9rl78i7zWSJQVJF+xizXpwv+KAy0o++G0l0smo6It3vh6Sqdj1kicFzFiPxw3eXr2wG6VxdHi5daIlHF5piAkOmZODC88KYhdM30D38ekpGLXLKLWL5MHQBdHXyjnuNJqQDfDVvyA7OoNDi8ioAdbLGtdZzEY9kftdTHe0Y7XygaLaaAIB3jzn29NO6N3gpaynCckBqonTEepILHFEQielZxazs+6eWle0XjmrWW154KkPYRtmZP4qG+p/30LlagGusOUDU5jeeoJ4VhT6KPlex2FQW7KSZr6jx0AWTtpx+j1FBs0ILQLSZs0ASMxYFDmKM2W4Lgx3tuCEbyxlbQ0SWxqLt4KXUB10/puSihpXKBAQyKnTo1XdqmCha9xjcNxEic1AD6C/E7OsPh+iJfea/HS0AvGeS03stifqQm6GPFW8mg+BoLI80Zku16dxk1/dnumccclWbQAnZPMaz X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13015025)(13017025)(13023025)(13018025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:BLUPR0301MB1619;BCL:0;PCL:0;RULEID:(400006);SRVR:BLUPR0301MB1619; X-Forefront-PRVS: 0107098B6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0301MB1619;23:eJ56CJ6LPup7k7hu6gMo79K7ugFnklB+cUKbpnM?= =?us-ascii?Q?gpYlhn64BKbXS8qgMd99PFb5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scSHjGibizSvV8IfCi4CktQlIp;24:AVsxg0s4YHgBdSAAaBQwVH0UlnM8tdQhnTPqP8r+ZjNNNdjBSNIDvOb9erRfoaeLa2lczfLtqENzQr8BuNEDN2cgXKnM3FsfEZIYcd+sOTQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB1619;7:aq8IL8m0GDxR98bizP21L9GEGDD9fuwbZbmD6UwDjBtrBJ5d9CgulR6xMVmsrvBEY3PnEG/GJN8z9NjyAtbBMLwFH9PDMSpWMfjvvacoY6WQqr5/qbyU7qnBf/7+OHWkNrbXED6FA0ye1PjjpIM7b61638DqXaLGHyamsqdE6hGaTST4gkEcrFVK6K8ICzf7RbrwOjCYU7Lt1Q315DgLMq4J9Iw2X4CsA/CfnAoFaO27QbaJmCW3y1PgmwKA5NQmOVRjGBxf9TL95VDCnMOotobhRQ/IaAhTylIrzSUaHpixLyQrw8VnyfCha+2DgD5y0P5Q+mDkLdcswUv6jADteXEJrTkxn1eTwuVXbrAXJBM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2016 16:26:52.9591 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1619 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2971 Lines: 88 improve some messages by shortening and rewording Signed-off-by: Stuart Yoder --- -v2 -patch is result of split of original patch, updated commit messasge to reflect the change drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 4 ++-- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c index cf10148..e92c780 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c @@ -605,7 +605,7 @@ static int fsl_mc_allocator_probe(struct fsl_mc_device *mc_dev) return error; dev_dbg(&mc_dev->dev, - "Allocatable MC object device bound to fsl_mc_allocator driver"); + "Allocatable fsl-mc device bound to fsl_mc_allocator driver"); return 0; } @@ -627,7 +627,7 @@ static int fsl_mc_allocator_remove(struct fsl_mc_device *mc_dev) } dev_dbg(&mc_dev->dev, - "Allocatable MC object device unbound from fsl_mc_allocator driver"); + "Allocatable fsl-mc device unbound from fsl_mc_allocator driver"); return 0; } diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 5267c503..fb062d3 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -231,8 +231,7 @@ int __fsl_mc_driver_register(struct fsl_mc_driver *mc_driver, return error; } - pr_info("MC object device driver %s registered\n", - mc_driver->driver.name); + pr_info("driver %s registered\n", mc_driver->driver.name); return 0; } EXPORT_SYMBOL_GPL(__fsl_mc_driver_register); @@ -571,8 +570,7 @@ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc, } (void)get_device(&mc_dev->dev); - dev_dbg(parent_dev, "Added MC object device %s\n", - dev_name(&mc_dev->dev)); + dev_dbg(parent_dev, "added %s\n", dev_name(&mc_dev->dev)); *new_mc_dev = mc_dev; return 0; @@ -748,7 +746,7 @@ static int fsl_mc_bus_probe(struct platform_device *pdev) struct mc_version mc_version; struct resource res; - dev_info(&pdev->dev, "Root MC bus device probed"); + dev_info(&pdev->dev, "root DPRC probed"); mc = devm_kzalloc(&pdev->dev, sizeof(*mc), GFP_KERNEL); if (!mc) @@ -782,8 +780,7 @@ static int fsl_mc_bus_probe(struct platform_device *pdev) goto error_cleanup_mc_io; } - dev_info(&pdev->dev, - "Freescale Management Complex Firmware version: %u.%u.%u\n", + dev_info(&pdev->dev, "MC firmware version: %u.%u.%u\n", mc_version.major, mc_version.minor, mc_version.revision); error = get_mc_addr_translation_ranges(&pdev->dev, @@ -839,7 +836,7 @@ static int fsl_mc_bus_remove(struct platform_device *pdev) fsl_destroy_mc_io(mc->root_mc_bus_dev->mc_io); mc->root_mc_bus_dev->mc_io = NULL; - dev_info(&pdev->dev, "Root MC bus device removed"); + dev_info(&pdev->dev, "root DPRC removed"); return 0; } -- 1.9.0