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

staging: vc04_services: rename string literal containing bm2835_* to bcm2835*_

In the kernel, all names related to the chip BCM2835 are always named
bcm2835_*. To avoid confusion, and to make things more consistent,
rename the string term bm2835_* to bcm2835_*.

While at it, some realignments were made to improve readability.

Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/91caae07fce0e4511f283388304e935526ba29ed.1641414449.git.gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gaston Gonzalez and committed by
Greg Kroah-Hartman
948d91b6 eccbcf75

+3 -5
+3 -5
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
··· 884 884 885 885 vchiq_mmal_version(dev->instance, &major, &minor); 886 886 887 - strscpy(cap->driver, "bm2835 mmal", sizeof(cap->driver)); 888 - snprintf((char *)cap->card, sizeof(cap->card), "mmal service %d.%d", 889 - major, minor); 887 + strscpy(cap->driver, "bcm2835 mmal", sizeof(cap->driver)); 888 + snprintf((char *)cap->card, sizeof(cap->card), "mmal service %d.%d", major, minor); 890 889 891 - snprintf((char *)cap->bus_info, sizeof(cap->bus_info), 892 - "platform:%s", dev->v4l2_dev.name); 890 + snprintf((char *)cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev->v4l2_dev.name); 893 891 return 0; 894 892 } 895 893