Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

w1: ds1wm: add messages to make incorporation in mfd-drivers easier

w1: ds1wm: add messages to make incorporation in mfd-drivers easier

Signed-off-by: Johannes Poehlmann <johannes.poehlmann@izt-labs.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johannes Poehlmann and committed by
Greg Kroah-Hartman
c64163e2 1d925f45

+14 -1
+14 -1
drivers/w1/masters/ds1wm.c
··· 579 579 580 580 ret = devm_request_irq(&pdev->dev, ds1wm_data->irq, ds1wm_isr, 581 581 IRQF_SHARED, "ds1wm", ds1wm_data); 582 - if (ret) 582 + if (ret) { 583 + dev_err(&ds1wm_data->pdev->dev, 584 + "devm_request_irq %d failed with errno %d\n", 585 + ds1wm_data->irq, 586 + ret); 587 + 583 588 return ret; 589 + } 584 590 585 591 ds1wm_up(ds1wm_data); 586 592 ··· 596 590 if (ret) 597 591 goto err; 598 592 593 + dev_dbg(&ds1wm_data->pdev->dev, 594 + "ds1wm: probe successful, IAS: %d, rec.delay: %d, clockrate: %d, bus-shift: %d, is Hw Big Endian: %d\n", 595 + plat->active_high, 596 + plat->reset_recover_delay, 597 + plat->clock_rate, 598 + ds1wm_data->bus_shift, 599 + ds1wm_data->is_hw_big_endian); 599 600 return 0; 600 601 601 602 err: