Message ID | 5b315a623c63fd82df0540e27a130aaabd8c3b49.1525964385.git.joe@perches.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
Series | Convert default pr_fmt from empty to KBUILD_MODNAME | expand |
On Thu, May 10, 2018 at 08:45:35AM -0700, Joe Perches wrote: > Converting pr_fmt from a simple define to use KBUILD_MODNAME added > some duplicate logging prefixes to existing uses. > > Remove them. > > Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Richard Cochran <richardcochran@gmail.com>
diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c index 7eacc1c4b3b1..35d9e1aa6564 100644 --- a/drivers/ptp/ptp_clock.c +++ b/drivers/ptp/ptp_clock.c @@ -396,13 +396,13 @@ static int __init ptp_init(void) ptp_class = class_create(THIS_MODULE, "ptp"); if (IS_ERR(ptp_class)) { - pr_err("ptp: failed to allocate class\n"); + pr_err("failed to allocate class\n"); return PTR_ERR(ptp_class); } err = alloc_chrdev_region(&ptp_devt, 0, MINORMASK + 1, "ptp"); if (err < 0) { - pr_err("ptp: failed to allocate device region\n"); + pr_err("failed to allocate device region\n"); goto no_region; }
Converting pr_fmt from a simple define to use KBUILD_MODNAME added some duplicate logging prefixes to existing uses. Remove them. Signed-off-by: Joe Perches <joe@perches.com> --- drivers/ptp/ptp_clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)