pccbb: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 22:00:48 +00:00
parent 58263fc56e
commit ba9f0c72dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365180
2 changed files with 2 additions and 6 deletions

View File

@ -193,7 +193,7 @@ static struct resource *
cbb_find_res(struct cbb_softc *sc, int type, int rid)
{
struct cbb_reslist *rle;
SLIST_FOREACH(rle, &sc->rl, link)
if (SYS_RES_MEMORY == rle->type && rid == rle->rid)
return (rle->res);
@ -405,7 +405,6 @@ cbb_teardown_intr(device_t dev, device_t child, struct resource *irq,
return (0);
}
void
cbb_driver_added(device_t brdev, driver_t *driver)
{
@ -884,7 +883,7 @@ cbb_current_voltage(device_t brdev)
{
struct cbb_softc *sc = device_get_softc(brdev);
uint32_t ctrl;
ctrl = cbb_get(sc, CBB_SOCKET_CONTROL);
switch (ctrl & CBB_SOCKET_CTRL_VCCMASK) {
case CBB_SOCKET_CTRL_VCC_5V:
@ -1497,7 +1496,6 @@ cbb_pcic_set_memory_offset(device_t brdev, device_t child, int rid,
/* BUS Methods */
/************************************************************************/
int
cbb_activate_resource(device_t brdev, device_t child, int type, int rid,
struct resource *r)

View File

@ -62,7 +62,6 @@
* Register definitions for PCI to Cardbus Bridge chips
*/
/* PCI header registers */
#define CBBR_SOCKBASE 0x10 /* len=4 */
@ -188,7 +187,6 @@
# define TOPIC97_REG_CTRL_CAUDIO_OFF 0x00000002
# define TOPIC_REG_CTRL_CAUDIO_INVERT 0x00000001
/* Socket definitions */
#define CBB_SOCKET_EVENT_CSTS 0x01 /* Card Status Change */
#define CBB_SOCKET_EVENT_CD1 0x02 /* Card Detect 1 */