davidker / unisys

Master repository for new changes to drivers/staging/unisys and drivers/visorbus
Other
2 stars 1 forks source link

ultrainputreport.h includes itself, REALLY? #66

Closed mriswyth closed 8 years ago

mriswyth commented 8 years ago

Noticed when looking through include files that ultrainputreport.h includes itself??!!?

#ifndef __SPAR_ULTRAINPUTREPORT_H__
#define __SPAR_ULTRAINPUTREPORT_H__

#include <linux/types.h>

#include "ultrainputreport.h"

KanBan-1289

mriswyth commented 8 years ago

Removed ultrainputreport.h from ultrainputreport.h. Also removed channel.h from visorinput.c since it was unnecessary.

githubissue#66-upstream-next

davidker commented 8 years ago

@mriswyth , can you split this out into two patches? Tim Sell just got pinged for having an also in his comment meant it should be two patches. Since it was just comments he let it slide.

mriswyth commented 8 years ago

@davidker Split into two patches in githubissue#66-upstream-next-2.

Commits

I'm happy for you to choose which ever version of the patch/patches you want to push, so I'll point out that the original patch (ce2f5e54dabc4a5c84551c190f773e8737b5689e) was worded specifically to make it look like I was doing 1 thing in the patch (removing #included files). There is no also or and in the patch comment, that just popped up in my github issue comment.

selltc commented 8 years ago

Greg applied the above-mentioned commits to staging-next on 9/12, as:

So I think this can be closed now.