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

Commit 646c7eb5 authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visorbus: remove noisy postcodes



Get rid of postcodes from visorbus_main.c that are just informational.

They were not logging errors, we don't need to replace them with
anything.

Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 450333f1
Loading
Loading
Loading
Loading
+2 −19
Original line number Original line Diff line number Diff line
@@ -1081,17 +1081,11 @@ int
chipset_bus_create(struct visor_device *dev)
chipset_bus_create(struct visor_device *dev)
{
{
	int err;
	int err;
	u32 bus_no = dev->chipset_bus_no;


	POSTCODE_LINUX(BUS_CREATE_ENTRY_PC, 0, bus_no, DIAG_SEVERITY_PRINT);
	err = create_bus_instance(dev);
	err = create_bus_instance(dev);
	POSTCODE_LINUX(BUS_CREATE_EXIT_PC, 0, bus_no, DIAG_SEVERITY_PRINT);


	if (err < 0) {
	if (err < 0)
		POSTCODE_LINUX(BUS_CREATE_FAILURE_PC, 0, bus_no,
			       DIAG_SEVERITY_ERR);
		return err;
		return err;
	}


	bus_create_response(dev, err);
	bus_create_response(dev, err);


@@ -1109,21 +1103,10 @@ int
chipset_device_create(struct visor_device *dev_info)
chipset_device_create(struct visor_device *dev_info)
{
{
	int err;
	int err;
	u32 bus_no = dev_info->chipset_bus_no;
	u32 dev_no = dev_info->chipset_dev_no;

	POSTCODE_LINUX(DEVICE_CREATE_ENTRY_PC, dev_no, bus_no,
		       DIAG_SEVERITY_PRINT);


	err = create_visor_device(dev_info);
	err = create_visor_device(dev_info);
	if (err < 0) {
	if (err < 0)
		POSTCODE_LINUX(DEVICE_CREATE_FAILURE_PC, dev_no, bus_no,
			       DIAG_SEVERITY_ERR);
		return err;
		return err;
	}

	POSTCODE_LINUX(DEVICE_CREATE_SUCCESS_PC, dev_no, bus_no,
		       DIAG_SEVERITY_PRINT);


	device_create_response(dev_info, err);
	device_create_response(dev_info, err);