Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc70628c authored by Sagar Dharia's avatar Sagar Dharia
Browse files

slimbus: Remove unnecessary pointer type-cast



Use correct format-specifier in debug-log to remove pointer
type-cast

Change-Id: I304d2e04185b694b14fba41124abba165df8dacf
Signed-off-by: default avatarSagar Dharia <sdharia@codeaurora.org>
parent e5421545
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -466,8 +466,8 @@ static int slim_register_controller(struct slim_controller *ctrl)
	if (ret)
		goto out_list;

	dev_dbg(&ctrl->dev, "Bus [%s] registered:dev:%x\n", ctrl->name,
							(u32)&ctrl->dev);
	dev_dbg(&ctrl->dev, "Bus [%s] registered:dev:%p\n", ctrl->name,
							&ctrl->dev);

	if (ctrl->nports) {
		ctrl->ports = kzalloc(ctrl->nports * sizeof(struct slim_port),